Fix upgrade on tag automaticaly
Change-Id: I61e806bcfc7c37eee82680ffaa4395c94d21c3d6
diff --git a/jobs/pipelines/deploy-cicd-and-run-tests.groovy b/jobs/pipelines/deploy-cicd-and-run-tests.groovy
index 2336aec..769d576 100644
--- a/jobs/pipelines/deploy-cicd-and-run-tests.groovy
+++ b/jobs/pipelines/deploy-cicd-and-run-tests.groovy
@@ -222,7 +222,7 @@
if(env.UPGRADE_TO_TAG == "true") {
upgrade_to_tag = '--update-to-tag ${env.UPGRADE_VERSION_TAG} '
}
- if(env.PLATFORM_STACK_INSTALL.contains("contrail") {
+ if(env.PLATFORM_STACK_INSTALL.contains("contrail")) {
contrail_upgrade_line = "tcp_tests/tests/system/test_upgrade_contrail.py::TestUpdateContrail "
}
run_test_opts = """--keep-duplicates --maxfail=1 \
@@ -247,7 +247,7 @@
string(name: 'TCP_QA_REFS', value: env.TCP_QA_REFS),
string(name: 'PASSED_STEPS', value: steps),
string(name: 'TEMPEST_TEST_SUITE_NAME', value: env.TEMPEST_TEST_SUITE_NAME),
- string(name: 'NODE', value: "openstack_slave_${env.ENV_NAME}")
+ string(name: 'NODE', value: "openstack_slave_${env.ENV_NAME}"),
string(name: 'RUN_TEST_OPTS', value: run_test_opts)
],
wait: false,