Skip to content
Snippets Groups Projects
Commit 4b27aa5c authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Failed the pipeline job if it failed

parent 54099053
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ tf-apply:
echo "image_ohpc defined as ${TF_VAR_image_ohpc}"
fi
- export TF_VAR_keypair_name="os-gen-keypair-$BUILD_DATE"
- terraform apply -auto-approve || terraform destroy -auto-approve
- terraform apply -auto-approve || terraform destroy -auto-approve && false
clean-up:
stage: cleanup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment