Open smerle33 opened 1 year ago
this as for consequence to generate an error in the deleting process on azure-arm and windows VM probably due to a delay in stopping the machine.
As per https://github.com/jenkins-infra/packer-images/pull/459#issuecomment-1375865100 and https://ss64.com/ps/call.html, the ampersand (&
) character runs the provided instruction as a background job, so the exit code is not captured.
Worth a PR to run the sanity check on a subsequent powershell provider AFTER running the windows-provision.ps1
provider.
as per https://infra.ci.jenkins.io/blue/organizations/jenkins/infra-tools%2Fpacker-images/detail/0.41.1/1/pipeline/249#step-306-log-261 the installation of make is not aborting the build when it fail.