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 |
vnaumov | f90ea29 | 2018-07-24 15:35:46 +0400 | [diff] [blame] | 14 | - name: map-map-pipelines |
| 15 | repo: map/map-pipelines |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 16 | template: |
| 17 | discard: |
| 18 | build: |
| 19 | keep_num: 25 |
| 20 | artifact: |
| 21 | keep_num: 25 |
| 22 | type: workflow-scm |
| 23 | concurrent: true |
| 24 | scm: |
| 25 | type: git |
| 26 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 27 | branch: "${_param:jenkins_pipelines_branch}" |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 28 | credentials: "gerrit" |
| 29 | script: test-groovy-pipeline.groovy |
| 30 | trigger: |
| 31 | gerrit: |
| 32 | project: |
| 33 | "{{repo}}": |
| 34 | branches: |
| 35 | - master |
| 36 | event: |
| 37 | patchset: |
| 38 | - created: |
| 39 | excludeDrafts: false |
| 40 | excludeTrivialRebase: false |
| 41 | excludeNoCodeChange: false |
| 42 | comment: |
| 43 | - addedContains: |
| 44 | commentAddedCommentContains: '(recheck|reverify)' |
| 45 | param: |
| 46 | CREDENTIALS_ID: |
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: "gerrit" |
| 49 | GRADLE_IMAGE: |
Jakub Josef | 9037935 | 2017-03-31 14:08:06 +0200 | [diff] [blame] | 50 | type: string |
Mikhail Ivanov | 61095e6 | 2018-07-04 17:30:52 +0400 | [diff] [blame] | 51 | default: "docker-dev-local.docker.mirantis.net/mirantis/cicd/niaquinto_gradle" |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 52 | GRADLE_CMD: |
| 53 | type: string |
Vladislav Naumov | f7de804 | 2017-08-11 15:31:59 +0300 | [diff] [blame] | 54 | default: "check --info" |
Ilya Kharin | 1bd3c04 | 2017-07-13 23:24:08 +0400 | [diff] [blame] | 55 | DEFAULT_GIT_URL: |
| 56 | type: string |
| 57 | description: "Run against alternate system reclass" |
| 58 | default: "${_param:jenkins_gerrit_url}/{{repo}}" |
| 59 | DEFAULT_GIT_REF: |
| 60 | type: string |
| 61 | default: master |