Closed nancy-ottenklinger closed 2 years ago
It looks like you are missing a ; between the new-BcContainer command and Invoke-ScriptInbcContainer command. PowerShell sees Invoke-ScriptInBcContainer as a parameter to New-BcContainer.
Furthermore: I don't understand why you are having $parameters defined before your Run-AlPipeline - these parameters are never used. The ScriptBlock gets the calculated parameters transferred as a parameter and your global variable will be ignored. Even if you rename the variable - this is not the way to do it. You should set parameters on the parameters transferred as a parameter ( [HashTable] $parameters ) - not just use your own.
Describe the issue I use Run-AlPipeline with a NewBCContainer Overwrite. I get the following error with my script:
I looked at the New-NavContainer.ps1 Z. 930 to see if I forgot to set an parameter. But I don't understand why the else-part in the query was choosen as I have set an artifactUrl. Is something else missing in the parameters for NewBCContainer?
Scripts used to create container and cause the issue
Full output of scripts