Filip Pytloun | 19376a8 | 2017-03-07 12:29:00 +0100 | [diff] [blame^] | 1 | def branches = [:] |
2 | |||||
3 | for (cluster in TEST_MODELS.split(',')) { | ||||
4 | branches["${cluster}"] = { | ||||
5 | build job: "test-salt-model-${cluster}", parameters: [ | ||||
6 | [$class: 'StringParameterValue', name: 'RECLASS_SYSTEM_GIT_URL', value: "${GERRIT_SCHEME}://${GERRIT_NAME}@${GERRIT_HOST}:${GERRIT_PORT}/${GERRIT_PROJECT}.git"], | ||||
7 | [$class: 'StringParameterValue', name: 'RECLASS_SYSTEM_GIT_REF', value: GERRIT_REFSPEC] | ||||
8 | ] | ||||
9 | } | ||||
10 | } | ||||
11 | |||||
12 | parallel branches |