Add ability to run oscore CC deployments per commit to reclass system
Change-Id: I018b97b9e933c4b10f27cb91b65cc1be71bd3963
Related-Prod: https://mirantis.jira.com/browse/PROD-28083
diff --git a/test-salt-model-wrapper.groovy b/test-salt-model-wrapper.groovy
index 42aa4e9..b8fb9e8 100644
--- a/test-salt-model-wrapper.groovy
+++ b/test-salt-model-wrapper.groovy
@@ -213,11 +213,12 @@
if (gerritProject == cookiecutterTemplatesRepo) {
branchJobName = 'test-drivetrain'
branches[branchJobName] = runTests(branchJobName, yamlJobParameters(buildTestParams))
+ }
+ if (gerritProject in [cookiecutterTemplatesRepo, reclassSystemRepo]) {
branchJobName = 'oscore-test-cookiecutter-models'
branches[branchJobName] = runTests(branchJobName, yamlJobParameters(buildTestParams))
}
}
-
branches.keySet().each { key ->
if (branches[key] instanceof Closure) {
jobResultComments[key] = ['url': job_env.get('BUILD_URL'), 'status': 'WAITING']