Set default RECLASS_VERSIOn to 1.5.4
Use 1.5.4 reclass version by default for
* generate-cookiecutter-products
* test-cookiecutter-reclass
* test-salt-model-node
Change-Id: I1be11b12539959265f76688d11a84d3403c62004
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index 703620d..49da827 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -13,6 +13,11 @@
saltModelTesting = new com.mirantis.mk.SaltModelTesting()
ssh = new com.mirantis.mk.Ssh()
+def reclassVersion = '1.5.4'
+if (common.validInputParam('RECLASS_VERSION')) {
+ reclassVersion = RECLASS_VERSION
+}
+
timeout(time: 12, unit: 'HOURS') {
node("python&&docker") {
def templateEnv = "${env.WORKSPACE}/template"
@@ -178,7 +183,7 @@
testEnv,
'pkg',
'stable',
- 'master',
+ reclassVersion,
0,
false,
false,