Add possibility to check system reclass
Change-Id: I306518f50cf2771901439a81ee3fc91f927703b3
diff --git a/test-system-reclass-pipeline.groovy b/test-system-reclass-pipeline.groovy
new file mode 100644
index 0000000..b7bcedc
--- /dev/null
+++ b/test-system-reclass-pipeline.groovy
@@ -0,0 +1,12 @@
+def branches = [:]
+
+for (cluster in TEST_MODELS.split(',')) {
+ branches["${cluster}"] = {
+ build job: "test-salt-model-${cluster}", parameters: [
+ [$class: 'StringParameterValue', name: 'RECLASS_SYSTEM_GIT_URL', value: "${GERRIT_SCHEME}://${GERRIT_NAME}@${GERRIT_HOST}:${GERRIT_PORT}/${GERRIT_PROJECT}.git"],
+ [$class: 'StringParameterValue', name: 'RECLASS_SYSTEM_GIT_REF', value: GERRIT_REFSPEC]
+ ]
+ }
+}
+
+parallel branches