Open MortenBLarsen opened 2 weeks ago
I can further add to this issue, that the error happens only when compiling against OnPrem artifacts. Sandbox artifact type works as expected.
After further investigation this seems to be caused by Build Agents running with different versions of powershell installed. PowerShell 5.1.17763.5328 works, PowerShell 5.1.20348.2110 does not.
Should we update to PowerShell 7?
I have to ask - is it Windows 10? If so - we can't support that OS. Needs to be a server-OS. Did you install all Windows updates?
The build agent that works is running on Windows Server 2019 with all windows updates installed. The build agent that doesn't work is running on Windows Server 2022 also with all windows updates installed. Funny thing is that BC20.17 works, but BC20.18 doesn't.
Don't spend to much time on investigating this. We will transition to PowerShell 7 and see if that fixes the issue. Until we have transitioned we will compile against BC20.17
Describe the bug A clear and concise description of what the bug is.
the used yaml please provide the yaml that you used. It helps you put the yaml like this:
the output Also the complete output is necessary for us to see what is going on. Also use backtics:
Expected behavior We should be able to compile app using v2 compiler also on BC20 platform
Additional context We do not have multiple agents running on the build server as mentioned on other similar bug issues filed earlier.