Pavel Glazov | 26dcac0 | 2022-09-29 23:20:00 +0400 | [diff] [blame] | 1 | - job-template: |
| 2 | project-type: pipeline |
| 3 | description: '{job-description}' |
| 4 | concurrent: true |
| 5 | disabled: false |
| 6 | name: tcp-qa-gerrit |
| 7 | parameters: |
| 8 | - string: |
| 9 | default: '' |
| 10 | description: |- |
| 11 | Example: refs/changes/89/411189/36 |
| 12 | (for now - only one reference allowed) |
| 13 | name: GERRIT_REFSPEC |
| 14 | trim: 'false' |
| 15 | triggers: |
| 16 | - gerrit: |
| 17 | server-name: 'mcp-ci-gerrit' |
Pavel Glazov | 878ad8c | 2022-10-04 15:09:41 +0400 | [diff] [blame] | 18 | trigger-on: |
Pavel Glazov | 7317966 | 2022-10-05 14:29:37 +0400 | [diff] [blame] | 19 | - patchset-created-event: |
| 20 | exclude-no-code-change: true |
Pavel Glazov | 878ad8c | 2022-10-04 15:09:41 +0400 | [diff] [blame] | 21 | - comment-added-contains-event: |
| 22 | comment-contains-value: '(recheck|reverify|retest)' |
Pavel Glazov | 26dcac0 | 2022-09-29 23:20:00 +0400 | [diff] [blame] | 23 | projects: |
| 24 | - project-compare-type: PLAIN |
Pavel Glazov | 878ad8c | 2022-10-04 15:09:41 +0400 | [diff] [blame] | 25 | project-pattern: 'mcp/tcp-qa' |
Pavel Glazov | 26dcac0 | 2022-09-29 23:20:00 +0400 | [diff] [blame] | 26 | branches: |
| 27 | - branch-pattern: 'master' |
Pavel Glazov | 26dcac0 | 2022-09-29 23:20:00 +0400 | [diff] [blame] | 28 | pipeline-scm: |
| 29 | lightweight-checkout: false |
| 30 | scm: |
| 31 | - git: |
| 32 | branches: |
| 33 | - FETCH_HEAD |
| 34 | refspec: ${{GERRIT_REFSPEC}} |
| 35 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa |
| 36 | script-path: jobs/pipelines/gate-tcp-qa.groovy |
| 37 | logrotate: |
| 38 | daysToKeep: 30 |
| 39 | publishers: |
| 40 | - archive: |
| 41 | artifacts: 'build/report.html' |
| 42 | allow-empty: 'true' |