move salt-master connection to create infra phase
Change-Id: I12241693c582b178b107d50c6e0a31bc4e25e044
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 8e0b9ca..f1476f8 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -177,15 +177,12 @@
} else {
throw new Exception("STACK_TYPE ${STACK_TYPE} is not supported")
}
- }
- //
- // Connect to Salt master
- //
- def saltMaster
- stage('Connect to Salt API') {
+ // Connect to Salt master
+ def saltMaster
saltMaster = salt.connection(SALT_MASTER_URL, SALT_MASTER_CREDENTIALS)
+
}
//