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" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 25 | branch: "${_param:jenkins_pipelines_branch}" |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 26 | credentials: "gerrit" |
| 27 | script: test-groovy-pipeline.groovy |
| 28 | trigger: |
| 29 | gerrit: |
| 30 | project: |
| 31 | "{{repo}}": |
| 32 | branches: |
| 33 | - master |
| 34 | event: |
| 35 | patchset: |
| 36 | - created: |
| 37 | excludeDrafts: false |
| 38 | excludeTrivialRebase: false |
| 39 | excludeNoCodeChange: false |
| 40 | comment: |
| 41 | - addedContains: |
| 42 | commentAddedCommentContains: '(recheck|reverify)' |
| 43 | param: |
| 44 | CREDENTIALS_ID: |
Jakub Josef | 9037935 | 2017-03-31 14:08:06 +0200 | [diff] [blame] | 45 | type: string |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 46 | default: "gerrit" |
| 47 | GRADLE_IMAGE: |
Jakub Josef | 9037935 | 2017-03-31 14:08:06 +0200 | [diff] [blame] | 48 | type: string |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 49 | default: "niaquinto/gradle" |
| 50 | GRADLE_CMD: |
| 51 | type: string |
Vladislav Naumov | f7de804 | 2017-08-11 15:31:59 +0300 | [diff] [blame] | 52 | default: "check --info" |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 53 | DEFAULT_GIT_URL: |
| 54 | type: string |
| 55 | description: "Run against alternate system reclass" |
| 56 | default: "${_param:jenkins_gerrit_url}/{{repo}}" |
| 57 | DEFAULT_GIT_REF: |
| 58 | type: string |
| 59 | default: master |