Improved printing of heat stacks related jobs
Change-Id: I27029f642caa1499c5219bcd262f6d6ee028f729
diff --git a/delete-broken-stacks-pipeline.groovy b/delete-broken-stacks-pipeline.groovy
index a24b3b6..85d7898 100644
--- a/delete-broken-stacks-pipeline.groovy
+++ b/delete-broken-stacks-pipeline.groovy
@@ -11,7 +11,7 @@
*
*
*/
-
+common = new com.mirantis.mk.Common()
git = new com.mirantis.mk.Git()
openstack = new com.mirantis.mk.Openstack()
salt = new com.mirantis.mk.Salt()
@@ -39,6 +39,7 @@
brokenStacks.addAll(openstack.getStacksWithStatus(openstackCloud, "CREATE_FAILED", openstackEnv))
brokenStacks.addAll(openstack.getStacksWithStatus(openstackCloud, "DELETE_FAILED", openstackEnv))
for(int i=0;i<brokenStacks.size();i++){
+ common.infoMsg("Deleting Heat stack " + brokenStacks[i])
openstack.deleteHeatStack(openstackCloud, brokenStacks[i], openstackEnv)
}
}