Added warning about STACK_DELETE enabled to cloud deploy pipeline
Change-Id: I9a372681eff4164b97836d2f61240fbe5495cf80
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index bb391b9..ad46e2f 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -101,7 +101,9 @@
def workspace = common.getWorkspace()
venv = "${workspace}/venv"
venvPepper = "${workspace}/venvPepper"
-
+ if(common.validInputParam("STACK_DELETE") && STACK_DELETE.toBoolean()){
+ common.warningMsg("You running stack with STACK_DELETE option enabled, deployed stack will be removed at the end!")
+ }
//
// Prepare machines
//