Revert "Pass TEST_PLAN_NAME_PREFIX parameter to swarm-testrail-report job"
This reverts commit c5b7e3f0ae34af13cbc2bf762be7ffd2182abcae.
Change-Id: I98b88554dabcc1f2ad37657029719a237171b97e
diff --git a/jobs/pipelines/deploy-cicd-and-run-tests.groovy b/jobs/pipelines/deploy-cicd-and-run-tests.groovy
index 7e26377..ca52a53 100644
--- a/jobs/pipelines/deploy-cicd-and-run-tests.groovy
+++ b/jobs/pipelines/deploy-cicd-and-run-tests.groovy
@@ -97,7 +97,7 @@
stage("Archive all xml reports") {
archiveArtifacts artifacts: "**/*.xml,**/*.ini,**/*.log,**/*.tar.gz"
}
- if ("${env.REPORT_TO_TESTRAIL}" == "true") {
+ if (env.REPORT_TO_TESTRAIL ?: true) {
stage("report results to testrail") {
shared.swarm_testrail_report(steps)
}
diff --git a/src/com/mirantis/system_qa/SharedPipeline.groovy b/src/com/mirantis/system_qa/SharedPipeline.groovy
index 7649bd2..d50432f 100644
--- a/src/com/mirantis/system_qa/SharedPipeline.groovy
+++ b/src/com/mirantis/system_qa/SharedPipeline.groovy
@@ -297,7 +297,6 @@
string(name: 'PARENT_WORKSPACE', value: pwd()),
string(name: 'TCP_QA_REFS', value: "${tcp_qa_refs}"),
string(name: 'TEMPEST_TEST_SUITE_NAME', value: "${tempest_test_suite_name}"),
- string(name: 'TEST_PLAN_NAME_PREFIX', value: env.TEST_PLAN_NAME_PREFIX ?: ""),
]
common.printMsg("Start building job 'swarm-testrail-report' with parameters:", "purple")
common.prettyPrint(parameters)