fix venv_path missing on line 222
Change-Id: I367bdd11150ef71c85924ed4ebbb34ead5f5093c
diff --git a/cloud-deploy-pipeline.groovy b/cloud-deploy-pipeline.groovy
index 38694fc..3c89b0a 100644
--- a/cloud-deploy-pipeline.groovy
+++ b/cloud-deploy-pipeline.groovy
@@ -52,6 +52,8 @@
_MAX_PERMITTED_STACKS = 2
overwriteFile = "/srv/salt/reclass/classes/cluster/override.yml"
+venv_path = 'aws_venv'
+
timestamps {
node {
try {
@@ -123,7 +125,6 @@
SALT_MASTER_URL = "http://${saltMasterHost}:6969"
} else if (STACK_TYPE == 'aws') {
- def venv_path = 'aws_venv'
if (STACK_REUSE.toBoolean() == true && STACK_NAME == '') {
error("If you want to reuse existing stack you need to provide it's name")