Packer Abort vs cleanup debugging
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-07 14:35:16 +02:00
parent 50bef57ff7
commit 1da7269d87

View File

@ -42,7 +42,7 @@ steps:
./packer ./packer
- | - |
packer build \ packer build \
-on-error=cleanup \ -on-error=abort \
-var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \ -var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
-var vm_guestos=ubuntuserver20.04 \ -var vm_guestos=ubuntuserver20.04 \
-var repo_username=$${REPO_USERNAME} \ -var repo_username=$${REPO_USERNAME} \