Add healthdist testcase
[infra/cicd.git] / jjb / cloud-infra / delete-heat-stack.sh
index 7c6ecdb4bab9dbfdfd202beb3bd8b37b223df984..aa3478d4ebd39e94c2d2b7adc3a313208da096db 100644 (file)
 set -o errexit
 set -o nounset
 
+if [[ "$DELETE_STACK" != "yes" ]]; then
+  echo "-------------------------------------------------------------------------"
+  echo "Info: Stack will not be deleted upon the completion of the job!"
+  echo "-------------------------------------------------------------------------"
+  exit 0
+fi
+
 echo
 echo
 echo "-------------------------------------------------------------------------"