Is your feature request related to a problem? Please describe.
First, a question: Is there a way to set the BC artifacts cache folder via ALOps?
I have not been able to find one so far.
The problem I am facing is that I would like to store my artifacts on the D:\ drive, but the artifacts are saved on the C:\ drive.
Describe the solution you'd like
I would prefer that ALOps uses the artifacts cache folder that has been set up in BCContainerHelper on the server.
Alternatively, I would like to specify the folder directly in ALOps.
Describe alternatives you've considered
I have set up the default settings in BCContainerHelper via: C:\ProgramData\BcContainerHelper\BcContainerHelper.config.json (attached).
This works for some steps, but at least the "Publish apps" step in a release pipeline ignores it and uses C:\bcartifacts.cache when importing NAV/BC Management DLL's.
Additional context
Log from "Publish apps"
2022-09-30T13:50:03.8195095Z Import NAV/BC Management DLL's
2022-09-30T13:50:03.8268546Z ServiceTier not specified, loading default assemblies.
2022-09-30T13:50:03.8318420Z Default Assemblies not found. Load via BC-Artifacts
2022-09-30T13:50:03.8365372Z Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
2022-09-30T13:50:03.8414817Z Check BcContainerHelper
2022-09-30T13:50:03.9217002Z Load BcContainerHelper
2022-09-30T13:50:04.0046794Z BcContainerHelper version 4.0.2
2022-09-30T13:50:04.0432005Z Setting hostHelperFolder = D:\ProgramData\BcContainerHelper
2022-09-30T13:50:04.0473926Z Setting bcartifactsCacheFolder = D:\bcart
2022-09-30T13:50:05.2017661Z BcContainerHelper emits usage statistics telemetry to Microsoft
2022-09-30T13:50:08.2588271Z
2022-09-30T13:50:08.2589015Z ModuleType Version Name ExportedCommands
2022-09-30T13:50:08.2589585Z ---------- ------- ---- ----------------
2022-09-30T13:50:08.2590144Z Script 4.0.2 BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-...
2022-09-30T13:50:08.2590398Z
2022-09-30T13:50:08.2590486Z
2022-09-30T13:50:08.2590572Z
2022-09-30T13:50:08.2596454Z
2022-09-30T13:50:08.2631995Z ##[command]"Get-BCArtifactUrl"
2022-09-30T13:50:08.2632526Z Name Value
2022-09-30T13:50:08.2633990Z ---- -----
2022-09-30T13:50:08.2634672Z select Latest
2022-09-30T13:50:08.2635207Z type OnPrem
2022-09-30T13:50:08.2635724Z country W1
2022-09-30T13:50:08.2635994Z
2022-09-30T13:50:08.2636083Z
2022-09-30T13:50:08.2636354Z -select: Latest -type: OnPrem -country: W1
2022-09-30T13:50:11.8619476Z Platform: C:\bcartifacts.cache\onprem\20.6.47024.0\platform
2022-09-30T13:50:11.8648721Z Localisation: C:\bcartifacts.cache\onprem\20.6.47024.0\w1
2022-09-30T13:50:11.9021175Z BC Management DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Management.dll
2022-09-30T13:50:12.1815142Z BC App Management DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Apps.Management.dll
2022-09-30T13:50:12.6217091Z BC NCL Management DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Ncl.dll
2022-09-30T13:50:14.8662406Z BC Types DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Types.dll
Is your feature request related to a problem? Please describe. First, a question: Is there a way to set the BC artifacts cache folder via ALOps? I have not been able to find one so far.
The problem I am facing is that I would like to store my artifacts on the D:\ drive, but the artifacts are saved on the C:\ drive.
Describe the solution you'd like I would prefer that ALOps uses the artifacts cache folder that has been set up in BCContainerHelper on the server.
Alternatively, I would like to specify the folder directly in ALOps.
Describe alternatives you've considered I have set up the default settings in BCContainerHelper via: C:\ProgramData\BcContainerHelper\BcContainerHelper.config.json (attached).
This works for some steps, but at least the "Publish apps" step in a release pipeline ignores it and uses C:\bcartifacts.cache when importing NAV/BC Management DLL's.
Additional context
Log from "Publish apps"
2022-09-30T13:50:03.8195095Z Import NAV/BC Management DLL's 2022-09-30T13:50:03.8268546Z ServiceTier not specified, loading default assemblies. 2022-09-30T13:50:03.8318420Z Default Assemblies not found. Load via BC-Artifacts 2022-09-30T13:50:03.8365372Z Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper] 2022-09-30T13:50:03.8414817Z Check BcContainerHelper 2022-09-30T13:50:03.9217002Z Load BcContainerHelper 2022-09-30T13:50:04.0046794Z BcContainerHelper version 4.0.2 2022-09-30T13:50:04.0432005Z Setting hostHelperFolder = D:\ProgramData\BcContainerHelper 2022-09-30T13:50:04.0473926Z Setting bcartifactsCacheFolder = D:\bcart 2022-09-30T13:50:05.2017661Z BcContainerHelper emits usage statistics telemetry to Microsoft 2022-09-30T13:50:08.2588271Z 2022-09-30T13:50:08.2589015Z ModuleType Version Name ExportedCommands
2022-09-30T13:50:08.2589585Z ---------- ------- ---- ----------------
2022-09-30T13:50:08.2590144Z Script 4.0.2 BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-... 2022-09-30T13:50:08.2590398Z 2022-09-30T13:50:08.2590486Z 2022-09-30T13:50:08.2590572Z 2022-09-30T13:50:08.2596454Z 2022-09-30T13:50:08.2631995Z ##[command]"Get-BCArtifactUrl" 2022-09-30T13:50:08.2632526Z Name Value
2022-09-30T13:50:08.2633990Z ---- -----
2022-09-30T13:50:08.2634672Z select Latest
2022-09-30T13:50:08.2635207Z type OnPrem
2022-09-30T13:50:08.2635724Z country W1
2022-09-30T13:50:08.2635994Z 2022-09-30T13:50:08.2636083Z 2022-09-30T13:50:08.2636354Z -select: Latest -type: OnPrem -country: W1 2022-09-30T13:50:11.8619476Z Platform: C:\bcartifacts.cache\onprem\20.6.47024.0\platform 2022-09-30T13:50:11.8648721Z Localisation: C:\bcartifacts.cache\onprem\20.6.47024.0\w1 2022-09-30T13:50:11.9021175Z BC Management DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Management.dll 2022-09-30T13:50:12.1815142Z BC App Management DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Apps.Management.dll 2022-09-30T13:50:12.6217091Z BC NCL Management DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Ncl.dll 2022-09-30T13:50:14.8662406Z BC Types DLL: C:\bcartifacts.cache\onprem\20.6.47024.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\200\Service\Microsoft.Dynamics.Nav.Types.dll
BCContainerHelper settings
{ "bcartifactsCacheFolder": "D:\bcart", "hostHelperFolder": "D:\ProgramData\BcContainerHelper" }