Switch to gerrit-based testrail reporter tool
Change-Id: Ia27c926ef6559995c2af78ab154b2fe8fd63de0d
diff --git a/jobs/pipelines/run-test-scenarios.groovy b/jobs/pipelines/run-test-scenarios.groovy
index c85d9fe..fc45ad8 100644
--- a/jobs/pipelines/run-test-scenarios.groovy
+++ b/jobs/pipelines/run-test-scenarios.groovy
@@ -67,8 +67,10 @@
common.infoMsg("Running on: " + env.PARENT_NODE_NAME, "blue")
shared.verbose_sh("""\
[ -d /home/jenkins/venv_testrail_reporter ] || virtualenv --python=python3.7 /home/jenkins/venv_testrail_reporter""", true, false, true)
- shared.run_cmd("""\
- . /home/jenkins/venv_testrail_reporter/bin/activate; pip install git+https://github.com/dis-xcom/testrail_reporter -U""")
+ sshagent(credentials: ['maintenance-team-ssh']) {
+ shared.run_cmd("""\
+ . /home/jenkins/venv_testrail_reporter/bin/activate; pip install git+ssh://maintenance-ci-robot@gerrit.mcp.mirantis.com:29418/mcp/testrail-reporter -U""")
+ }
shared.swarm_testrail_report(steps, env.PARENT_NODE_NAME)
} else {
common.infoMsg("REPORT_TO_TESTRAIL is set to FALSE. Skipped this step ")