Use gerrit-refspec variable from gerrit plugin for jjb job
Additional TCP_QA_REFSPEC variable conflicts with gerrit trigger plugin
PROD-37197
Change-Id: I92a4703b0d22a1ad02e100aa0e1a13b8529efa56
diff --git a/jobs/templates/self-deploy-jobs.yaml b/jobs/templates/self-deploy-jobs.yaml
index 5660557..894ec3c 100644
--- a/jobs/templates/self-deploy-jobs.yaml
+++ b/jobs/templates/self-deploy-jobs.yaml
@@ -7,9 +7,9 @@
name: self-deploy-jobs
parameters:
- string:
- default: 'master'
+ default: 'refs/heads/master'
description: 'tcp-qa review refspec'
- name: TCP_QA_REFS
+ name: GERRIT_REFSPEC
trim: 'true'
- bool:
name: DRY_RUN
@@ -34,7 +34,7 @@
- git:
branches:
- FETCH_HEAD
- refspec: '${{TCP_QA_REFS}}'
+ refspec: '${{GERRIT_REFSPEC}}'
url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
script-path: jobs/pipelines/self-deploy-jobs.groovy
logrotate: