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 |
Jan Cach | 706f2ec | 2017-12-13 12:13:38 +0100 | [diff] [blame^] | 9 | - version: oc41 |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 10 | template: |
| 11 | discard: |
| 12 | build: |
| 13 | keep_num: 25 |
| 14 | artifact: |
| 15 | keep_num: 25 |
| 16 | type: workflow-scm |
| 17 | concurrent: true |
| 18 | scm: |
| 19 | type: git |
| 20 | url: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail" |
| 21 | credentials: "gerrit" |
| 22 | trigger: |
| 23 | gerrit: |
| 24 | project: |
| 25 | "mk/docker-opencontrail": |
| 26 | branches: |
| 27 | - master |
| 28 | event: |
| 29 | ref: |
| 30 | - updated: {} |
| 31 | comment: |
| 32 | - addedContains: |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 33 | commentAddedCommentContains: '(buildcontainer|test|recheck|verify|)' |
Jan Cach | 706f2ec | 2017-12-13 12:13:38 +0100 | [diff] [blame^] | 34 | reverse: |
| 35 | projects: |
| 36 | - build-opencontrail-{{version}}-ubuntu-xenial |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 37 | param: |
| 38 | IMAGE_GIT_URL: |
| 39 | type: string |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 40 | default: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail" |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 41 | OC_VERSION: |
| 42 | type: string |
| 43 | default: "{{version}}" |
| 44 | IMAGE_CREDENTIALS_ID: |
| 45 | type: string |
| 46 | default: "gerrit" |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 47 | APT_KEY: |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 48 | type: string |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 49 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 50 | APT_REPO_URL: |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 51 | type: string |
chnyda | f158c54 | 2017-12-18 15:35:50 +0100 | [diff] [blame] | 52 | default: "${_param:jenkins_aptly_url}/xenial/ nightly" |
chnyda | 982de51 | 2017-12-12 16:05:04 +0100 | [diff] [blame] | 53 | REGISTRY_CREDENTIALS_ID: |
| 54 | type: string |
| 55 | default: "dockerhub" |