Create tcp-qa-ci-gerrit with JJB
Change-Id: I749e01a8f48ebb2fc17a86c25fe6a559f908af15
diff --git a/jobs/templates/tcp-qa-gerrit.yml b/jobs/templates/tcp-qa-gerrit.yml
new file mode 100644
index 0000000..6432cdb
--- /dev/null
+++ b/jobs/templates/tcp-qa-gerrit.yml
@@ -0,0 +1,39 @@
+- job-template:
+ project-type: pipeline
+ description: '{job-description}'
+ concurrent: true
+ disabled: false
+ name: tcp-qa-gerrit
+ parameters:
+ - string:
+ default: ''
+ description: |-
+ Example: refs/changes/89/411189/36
+ (for now - only one reference allowed)
+ name: GERRIT_REFSPEC
+ trim: 'false'
+ triggers:
+ - gerrit:
+ server-name: 'mcp-ci-gerrit'
+ projects:
+ - project-compare-type: PLAIN
+ project-pattern: mcp/tcp-qa
+ branches:
+ - branch-pattern: 'master'
+ - comment-added-contains-event:
+ comment-contains-value: '(recheck|reverify|retest)'
+ pipeline-scm:
+ lightweight-checkout: false
+ scm:
+ - git:
+ branches:
+ - FETCH_HEAD
+ refspec: ${{GERRIT_REFSPEC}}
+ url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
+ script-path: jobs/pipelines/gate-tcp-qa.groovy
+ logrotate:
+ daysToKeep: 30
+ publishers:
+ - archive:
+ artifacts: 'build/report.html'
+ allow-empty: 'true'
\ No newline at end of file