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