Add legacy test mode switch to test salt model node pipeline
Change-Id: I64e7a11fc763d23c542c8e17ea8e1b068f518a8c
diff --git a/test-salt-model-node.groovy b/test-salt-model-node.groovy
index e22bcbe..8e23e26 100644
--- a/test-salt-model-node.groovy
+++ b/test-salt-model-node.groovy
@@ -11,6 +11,7 @@
* SYSTEM_GIT_REF
* FORMULAS_SOURCE
* MAX_CPU_PER_JOB
+ * LEGACY_TEST_MODE
*/
def common = new com.mirantis.mk.Common()
@@ -57,7 +58,7 @@
if (checkouted) {
def workspace = common.getWorkspace()
common.infoMsg("Running salt model test for node ${NODE_TARGET} in cluster ${CLUSTER_NAME}")
- saltModelTesting.setupAndTestNode(NODE_TARGET, CLUSTER_NAME, EXTRA_FORMULAS, workspace, FORMULAS_SOURCE, FORMULAS_REVISION, MAX_CPU_PER_JOB.toInteger())
+ saltModelTesting.setupAndTestNode(NODE_TARGET, CLUSTER_NAME, EXTRA_FORMULAS, workspace, FORMULAS_SOURCE, FORMULAS_REVISION, MAX_CPU_PER_JOB.toInteger(), LEGACY_TEST_MODE)
}
}
} catch (Throwable e) {