Jakub Josef | e841239 | 2017-03-15 18:04:19 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 4 | job_template: |
| 5 | test-pipelines: |
| 6 | name: test-{{name}} |
| 7 | jobs: |
| 8 | - name: mk-mk-pipelines |
| 9 | repo: mk/mk-pipelines |
chnyda | fe79d53 | 2017-09-26 17:04:14 +0200 | [diff] [blame] | 10 | - name: mcp-ci-pipeline-library |
| 11 | repo: mcp-ci/pipeline-library |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 12 | - name: oss-jenkins-pipelines |
| 13 | repo: oss/jenkins/pipelines |
| 14 | template: |
| 15 | discard: |
| 16 | build: |
| 17 | keep_num: 25 |
| 18 | artifact: |
| 19 | keep_num: 25 |
| 20 | type: workflow-scm |
| 21 | concurrent: true |
| 22 | scm: |
| 23 | type: git |
| 24 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 25 | credentials: "gerrit" |
| 26 | script: test-groovy-pipeline.groovy |
| 27 | trigger: |
| 28 | gerrit: |
| 29 | project: |
| 30 | "{{repo}}": |
| 31 | branches: |
| 32 | - master |
| 33 | event: |
| 34 | patchset: |
| 35 | - created: |
| 36 | excludeDrafts: false |
| 37 | excludeTrivialRebase: false |
| 38 | excludeNoCodeChange: false |
| 39 | comment: |
| 40 | - addedContains: |
| 41 | commentAddedCommentContains: '(recheck|reverify)' |
| 42 | param: |
| 43 | CREDENTIALS_ID: |
Jakub Josef | 9037935 | 2017-03-31 14:08:06 +0200 | [diff] [blame] | 44 | type: string |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 45 | default: "gerrit" |
| 46 | GRADLE_IMAGE: |
Jakub Josef | 9037935 | 2017-03-31 14:08:06 +0200 | [diff] [blame] | 47 | type: string |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 48 | default: "niaquinto/gradle" |
| 49 | GRADLE_CMD: |
| 50 | type: string |
Vladislav Naumov | f7de804 | 2017-08-11 15:31:59 +0300 | [diff] [blame] | 51 | default: "check --info" |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 52 | DEFAULT_GIT_URL: |
| 53 | type: string |
| 54 | description: "Run against alternate system reclass" |
| 55 | default: "${_param:jenkins_gerrit_url}/{{repo}}" |
| 56 | DEFAULT_GIT_REF: |
| 57 | type: string |
| 58 | default: master |