Added CLEANUP_JOB param to lab pipeline
Change-Id: Ib8e99f6dfc6c2a376a0acc9db2937186a2b59720
diff --git a/lab-pipeline.groovy b/lab-pipeline.groovy
index 14463da..83b3526 100644
--- a/lab-pipeline.groovy
+++ b/lab-pipeline.groovy
@@ -309,7 +309,7 @@
if (STACK_DELETE.toBoolean() == true) {
common.errorMsg('Heat job cleanup triggered')
stage('Trigger cleanup job') {
- build job: 'deploy-heat-cleanup', parameters: [[$class: 'StringParameterValue', name: 'HEAT_STACK_NAME', value: STACK_NAME]]
+ build job: STACK_CLEANUP_JOB, parameters: [[$class: 'StringParameterValue', name: 'HEAT_STACK_NAME', value: STACK_NAME]]
}
} else {
if (currentBuild.result == 'FAILURE') {