blob: 53a76e0305705b42bea1c7098b85250e4d85a5a5 [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
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:
chnydaf158c542017-12-18 15:35:50 +010032 commentAddedCommentContains: '(buildcontainer|test|recheck|verify|)'
chnyda982de512017-12-12 16:05:04 +010033 param:
34 IMAGE_GIT_URL:
35 type: string
chnydaf158c542017-12-18 15:35:50 +010036 default: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail"
chnyda982de512017-12-12 16:05:04 +010037 OC_VERSION:
38 type: string
39 default: "{{version}}"
40 IMAGE_CREDENTIALS_ID:
41 type: string
42 default: "gerrit"
chnydaf158c542017-12-18 15:35:50 +010043 APT_KEY:
chnyda982de512017-12-12 16:05:04 +010044 type: string
chnydaf158c542017-12-18 15:35:50 +010045 default: "${_param:jenkins_aptly_url}/public.gpg"
46 APT_REPO_URL:
chnyda982de512017-12-12 16:05:04 +010047 type: string
chnydaf158c542017-12-18 15:35:50 +010048 default: "${_param:jenkins_aptly_url}/xenial/ nightly"
chnyda982de512017-12-12 16:05:04 +010049 REGISTRY_CREDENTIALS_ID:
50 type: string
51 default: "dockerhub"