blob: 35e1aa96b41ef439e28786a466d74e612a69bca8 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001classes:
2 - system_extra.jenkins.client.job.common
3parameters:
4 jenkins:
5 client:
6 job_template:
7 build-debian-salt-multibranch:
8 name: build-debian-salt-formula-{{name}}-ubuntu-{{dist}}
9 jobs:
10 - name: ceilometer
11 dist: trusty
12 - name: cinder
13 dist: trusty
14 - name: glance
15 dist: trusty
16 - name: heat
17 dist: trusty
18 - name: horizon
19 dist: trusty
20 - name: keystone
21 dist: trusty
22 - name: kubernetes
23 dist: trusty
24 - name: neutron
25 dist: trusty
26 - name: nova
27 dist: trusty
28 - name: swift
29 dist: trusty
30 - name: ceilometer
31 dist: xenial
32 - name: cinder
33 dist: xenial
34 - name: glance
35 dist: xenial
36 - name: heat
37 dist: xenial
38 - name: horizon
39 dist: xenial
40 - name: keystone
41 dist: xenial
42 - name: kubernetes
43 dist: xenial
44 - name: neutron
45 dist: xenial
46 - name: nova
47 dist: xenial
48 - name: swift
49 dist: xenial
50 template:
51 discard:
52 build:
53 keep_num: 10
54 artifact:
55 keep_num: 10
56 type: workflow-scm
57 concurrent: false
58 scm:
59 type: git
60 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
61 credentials: "gerrit"
62 script: build-debian-packages-pipeline.groovy
63 trigger:
64 gerrit:
65 project:
66 salt-formulas/{{name}}:
67 branches:
68 - master
69 - debian/{{dist}}
70 message:
71 build_successful: "Build successful"
72 build_unstable: "Build unstable"
73 build_failure: "Build failed"
74 event:
75 ref:
76 - updated
77 param:
78 SOURCE_URL:
79 type: string
80 default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}.git"
81 SOURCE_BRANCH:
82 type: string
83 default: "master"
84 SOURCE_CREDENTIALS:
85 type: string
86 default: "gerrit"
87 DEBIAN_BRANCH:
88 type: string
89 default: 'debian/{{dist}}'
90 DEBIAN_SNAPSHOT:
91 type: boolean
92 default: 'true'
93 EXTRA_REPO_URL:
94 type: string
95 default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing salt salt-latest"
96 EXTRA_REPO_KEY_URL:
97 type: string
98 default: "${_param:jenkins_aptly_url}/public.gpg"
99 APTLY_URL:
100 type: string
101 default: "${_param:jenkins_aptly_api_url}"
102 APTLY_REPO:
103 type: string
104 default: "ubuntu-{{dist}}-salt"
105 OS:
106 type: string
107 default: "ubuntu"
108 DIST:
109 type: string
110 default: "{{dist}}"
111 ARCH:
112 type: string
113 default: "amd64"