Pass TEST_PLAN_NAME_PREFIX parameter to swarm-testrail-report job
Also fix REPORT_TO_TESTRAIL boolean logic
Change-Id: I9e926cd93995bbac75cdd26a09e8c26e9b0ed345
Related-PROD: PROD-28588
diff --git a/jobs/pipelines/deploy-cicd-and-run-tests.groovy b/jobs/pipelines/deploy-cicd-and-run-tests.groovy
index ca52a53..f5c5b9a 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}" != "false") {
stage("report results to testrail") {
shared.swarm_testrail_report(steps)
}