Skip to content
Snippets Groups Projects

Failed the pipeline job if it failed

Merged Bo-Chun Chen requested to merge fix-pipeline-job-status into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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
Loading