blob: 0e4f40a1a3fcecf47258ab7c7fa518f0ec6d57b0 [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
Inessa Vasilevskaya6cea0282018-08-07 18:23:36 +02009 branch: master
Jan Cach706f2ec2017-12-13 12:13:38 +010010 - version: oc41
Inessa Vasilevskaya6cea0282018-08-07 18:23:36 +020011 branch: master
12 - version: oc50
13 branch: R5.0
chnyda982de512017-12-12 16:05:04 +010014 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 Vasilevskaya6cea0282018-08-07 18:23:36 +020031 - "{{branch}}"
chnyda982de512017-12-12 16:05:04 +010032 event:
33 ref:
34 - updated: {}
35 comment:
36 - addedContains:
chnydaf158c542017-12-18 15:35:50 +010037 commentAddedCommentContains: '(buildcontainer|test|recheck|verify|)'
Jan Cach706f2ec2017-12-13 12:13:38 +010038 reverse:
39 projects:
40 - build-opencontrail-{{version}}-ubuntu-xenial
chnyda982de512017-12-12 16:05:04 +010041 param:
42 IMAGE_GIT_URL:
43 type: string
chnydaf158c542017-12-18 15:35:50 +010044 default: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail"
chnyda982de512017-12-12 16:05:04 +010045 OC_VERSION:
46 type: string
47 default: "{{version}}"
48 IMAGE_CREDENTIALS_ID:
49 type: string
50 default: "gerrit"
Inessa Vasilevskaya6cea0282018-08-07 18:23:36 +020051 IMAGE_BRANCH:
52 type: string
53 default: "{{branch}}"
chnydaf158c542017-12-18 15:35:50 +010054 APT_KEY:
chnyda982de512017-12-12 16:05:04 +010055 type: string
chnydaf158c542017-12-18 15:35:50 +010056 default: "${_param:jenkins_aptly_url}/public.gpg"
57 APT_REPO_URL:
chnyda982de512017-12-12 16:05:04 +010058 type: string
chnydaf158c542017-12-18 15:35:50 +010059 default: "${_param:jenkins_aptly_url}/xenial/ nightly"
chnyda982de512017-12-12 16:05:04 +010060 REGISTRY_CREDENTIALS_ID:
61 type: string
62 default: "dockerhub"