Open PaulFurlet opened 3 months ago
ValidateCurrent
, ValidateNextMinor
, ValidateNextMajor
and failOnError
are switch parameters (not boolean)
According to PowerShell syntax, you need to add a colon (and remove the true):
Run-AlValidation `
-apps $appFileName `
-previousApps $oldAppFileName `
-affixes "CUST" `
-countries $validationRequiredFor `
-validateCurrent:$ValidateCurrent `
-validateNextMinor:$ValidateMinor `
-validateNextMajor:$ValidateMajor `
-failOnError
Thanks for the answer. So if just in case of necessity, we cannot validate against all versions in one run, have to make three separate calls.
No, you can run all 3 - you just had a powershell syntax error in your command.
Thanks!
Describe the issue When I try to use Run-AlValidation with combination of -validateCurrent, -validateNextMinor and -validateNextMajor parameters, I get an error
Scripts used to create container and cause the issue
Full output of scripts
Screenshots If applicable, add screenshots to help explain your problem.
Additional context