blob: a953d9506a78b931be75ca5205a47182b8952e0b [file] [log] [blame]
chnydaff4b1182017-05-22 11:05:25 +02001parameters:
2 jenkins:
3 client:
Jakub Josef1916e232017-05-24 14:27:08 +02004 job_template:
chnydaff4b1182017-05-22 11:05:25 +02005 docker-build-images:
Jakub Josefb5f67002017-05-22 18:45:46 +02006 name: "docker-build-images-{{name}}"
chnydaff4b1182017-05-22 11:05:25 +02007 jobs:
8 - name: aptly
chnyda7612b912017-06-19 16:18:09 +02009 repo: mk
chnydaff4b1182017-05-22 11:05:25 +020010 - name: ci
chnyda7612b912017-06-19 16:18:09 +020011 repo: mk
chnydaa0ef5af2017-06-19 10:42:21 +020012 - name: prometheus
chnyda7612b912017-06-19 16:18:09 +020013 repo: mcp
chnyda83488632017-10-25 17:57:48 +020014 - name: opencontrail
15 repo: mk
chnydaff4b1182017-05-22 11:05:25 +020016 template:
17 discard:
18 build:
19 keep_num: 25
20 artifact:
21 keep_num: 25
22 type: workflow-scm
23 concurrent: true
24 scm:
25 type: git
chnyda7612b912017-06-19 16:18:09 +020026 url: "${_param:jenkins_gerrit_url}/{{repo}}/docker-{{name}}"
chnydaff4b1182017-05-22 11:05:25 +020027 credentials: "gerrit"
28 trigger:
29 gerrit:
30 project:
chnydabafee2e2017-09-22 16:00:28 +020031 "{{repo}}/docker-{{name}}":
chnydaff4b1182017-05-22 11:05:25 +020032 branches:
33 - master
34 event:
35 ref:
36 - updated: {}
37 param:
38 IMAGE_GIT_URL:
39 type: string
chnyda7612b912017-06-19 16:18:09 +020040 default: "${_param:jenkins_gerrit_url}/{{repo}}/docker-{{name}}"
chnydaff4b1182017-05-22 11:05:25 +020041 IMAGE_BRANCH:
42 type: string
43 default: "master"
44 IMAGE_CREDENTIALS_ID:
45 type: string
46 default: "gerrit"
47 IMAGE_TAGS:
48 type: string
49 default: "latest"
50 REGISTRY_URL:
51 type: string
52 default: ""
53 REGISTRY_CREDENTIALS_ID:
54 type: string
55 default: "dockerhub"
56 DOCKER_GIT_TAG:
57 type: boolean
58 default: "true"
chnyda303393e2017-09-20 11:46:46 +020059 EXTRA_REPO_URL:
60 type: string
61 default: "${_param:jenkins_aptly_url}"