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