Improve quotes in testrail reporter params
* Remove quotes from testrail_configuration_name
* Remove default params
* Remove extra quotes from the report file name
Change-Id: Ia343d091f684913bce6bf41de7b80bf2d2687255
diff --git a/jobs/pipelines/swarm-testrail-report.groovy b/jobs/pipelines/swarm-testrail-report.groovy
index 1967016..067ddff 100644
--- a/jobs/pipelines/swarm-testrail-report.groovy
+++ b/jobs/pipelines/swarm-testrail-report.groovy
@@ -80,9 +80,7 @@
testrail_name_template = '{title}'
reporter_extra_options = [
"--testrail-add-missing-cases",
- "--testrail-case-custom-fields {\\\"custom_qa_team\\\":\\\"9\\\"}",
- "--testrail-case-section-name \'All\'",
- "--testrail_configuration_name \'tcp-qa\'",
+ "--testrail_configuration_name tcp-qa",
]
ret = shared.upload_results_to_testrail(deployment_report_name, testSuiteName, methodname, testrail_name_template, reporter_extra_options)
common.printMsg(ret.stdout, "blue")
@@ -103,9 +101,7 @@
testrail_name_template = "{title}"
reporter_extra_options = [
"--testrail-add-missing-cases",
- "--testrail-case-custom-fields {\\\"custom_qa_team\\\":\\\"9\\\"}",
- "--testrail-case-section-name \'All\'",
- "--testrail_configuration_name \'tcp-qa\'",
+ "--testrail_configuration_name tcp-qa",
]
ret = shared.upload_results_to_testrail(tcpqa_report_name, testSuiteName, methodname, testrail_name_template, reporter_extra_options)
common.printMsg(ret.stdout, "blue")
@@ -127,7 +123,7 @@
reporter_extra_options = [
"--send-duplicates",
"--testrail-add-missing-cases",
- "--testrail_configuration_name \'tcp-qa\'",
+ "--testrail_configuration_name tcp-qa",
]
ret = shared.upload_results_to_testrail(tempest_report_name,
testSuiteName,
@@ -220,9 +216,7 @@
reporter_extra_options = [
"--send-duplicates",
"--testrail-add-missing-cases",
- "--testrail-case-custom-fields {\\\"custom_qa_team\\\":\\\"9\\\"}",
- "--testrail-case-section-name \'All\'",
- "--testrail_configuration_name \'tcp-qa\'",
+ "--testrail_configuration_name tcp-qa",
]
ret = shared.upload_results_to_testrail(cvp_sanity_report_name, testSuiteName, methodname, testrail_name_template, reporter_extra_options)
common.printMsg(ret.stdout, "blue")