blob: b5052de0a97d8e718cd841b53af6c6536d9ee00a [file] [log] [blame]
chnyda982de512017-12-12 16:05:04 +01001parameters:
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 Cach706f2ec2017-12-13 12:13:38 +01009 - version: oc41
chnyda982de512017-12-12 16:05:04 +010010 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:
chnydaf158c542017-12-18 15:35:50 +010033 commentAddedCommentContains: '(buildcontainer|test|recheck|verify|)'
Jan Cach706f2ec2017-12-13 12:13:38 +010034 reverse:
35 projects:
36 - build-opencontrail-{{version}}-ubuntu-xenial
chnyda982de512017-12-12 16:05:04 +010037 param:
38 IMAGE_GIT_URL:
39 type: string
chnydaf158c542017-12-18 15:35:50 +010040 default: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail"
chnyda982de512017-12-12 16:05:04 +010041 OC_VERSION:
42 type: string
43 default: "{{version}}"
44 IMAGE_CREDENTIALS_ID:
45 type: string
46 default: "gerrit"
chnydaf158c542017-12-18 15:35:50 +010047 APT_KEY:
chnyda982de512017-12-12 16:05:04 +010048 type: string
chnydaf158c542017-12-18 15:35:50 +010049 default: "${_param:jenkins_aptly_url}/public.gpg"
50 APT_REPO_URL:
chnyda982de512017-12-12 16:05:04 +010051 type: string
chnydaf158c542017-12-18 15:35:50 +010052 default: "${_param:jenkins_aptly_url}/xenial/ nightly"
chnyda982de512017-12-12 16:05:04 +010053 REGISTRY_CREDENTIALS_ID:
54 type: string
55 default: "dockerhub"