chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job_template: |
| 5 | docker-build-images-opencontrail: |
| 6 | name: "docker-build-images-opencontrail-{{version}}" |
| 7 | jobs: |
| 8 | - version: oc40 |
Inessa Vasilevskaya | 6cea028 | 2018-08-07 18:23:36 +0200 | [diff] [blame] | 9 | branch: master |
Jan Cach | 706f2ec | 2017-12-13 12:13:38 +0100 | [diff] [blame] | 10 | - version: oc41 |
Inessa Vasilevskaya | 6cea028 | 2018-08-07 18:23:36 +0200 | [diff] [blame] | 11 | branch: master |
| 12 | - version: oc50 |
| 13 | branch: R5.0 |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 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/docker-opencontrail" |
| 25 | credentials: "gerrit" |
| 26 | trigger: |
| 27 | gerrit: |
| 28 | project: |
| 29 | "mk/docker-opencontrail": |
| 30 | branches: |
Inessa Vasilevskaya | 6cea028 | 2018-08-07 18:23:36 +0200 | [diff] [blame] | 31 | - "{{branch}}" |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 32 | event: |
| 33 | ref: |
| 34 | - updated: {} |
| 35 | comment: |
| 36 | - addedContains: |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 37 | commentAddedCommentContains: '(buildcontainer|test|recheck|verify|)' |
Jan Cach | 706f2ec | 2017-12-13 12:13:38 +0100 | [diff] [blame] | 38 | reverse: |
| 39 | projects: |
| 40 | - build-opencontrail-{{version}}-ubuntu-xenial |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 41 | param: |
| 42 | IMAGE_GIT_URL: |
| 43 | type: string |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 44 | default: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail" |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 45 | OC_VERSION: |
| 46 | type: string |
| 47 | default: "{{version}}" |
| 48 | IMAGE_CREDENTIALS_ID: |
| 49 | type: string |
| 50 | default: "gerrit" |
Inessa Vasilevskaya | 6cea028 | 2018-08-07 18:23:36 +0200 | [diff] [blame] | 51 | IMAGE_BRANCH: |
| 52 | type: string |
| 53 | default: "{{branch}}" |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 54 | APT_KEY: |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 55 | type: string |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 56 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 57 | APT_REPO_URL: |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 58 | type: string |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 59 | default: "${_param:jenkins_aptly_url}/xenial/ nightly" |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 60 | REGISTRY_CREDENTIALS_ID: |
| 61 | type: string |
| 62 | default: "dockerhub" |