Add new job for parallel env-dependent salt-formula tests
Change-Id: Ice82e8a7ff893c6139b4f7930bc1eca479862e91
diff --git a/jenkins/client/job/salt-formulas/tests.yml b/jenkins/client/job/salt-formulas/tests.yml
index fe95493..cd95040 100644
--- a/jenkins/client/job/salt-formulas/tests.yml
+++ b/jenkins/client/job/salt-formulas/tests.yml
@@ -156,8 +156,43 @@
DEFAULT_GIT_REF:
type: string
default: master
- KITCHEN_TESTS_PARALLEL:
- type: boolean
- default: 'false'
CUSTOM_KITCHEN_ENVS:
type: text
+ PARALLEL_GROUP_SIZE:
+ type: string
+ default: "4"
+ job:
+ test-salt-formulas-env:
+ name: test-salt-formulas-env
+ template:
+ discard:
+ build:
+ keep_num: 500
+ artifact:
+ keep_num: 10
+ type: workflow-scm
+ concurrent: true
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
+ credentials: "gerrit"
+ script: test-salt-formulas-env.groovy
+ param:
+ SALT_VERSION:
+ type: string
+ default: "latest"
+ SALT_OPTS:
+ type: string
+ default: "--force-color"
+ CREDENTIALS_ID:
+ type: string
+ default: "gerrit"
+ DEFAULT_GIT_URL:
+ type: string
+ description: "Run against alternate system reclass"
+ default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}"
+ DEFAULT_GIT_REF:
+ type: string
+ default: master
+ KITCHEN_ENV:
+ type: text