blob: ffe61dcb64386f8a4bab376385124252effd524a [file] [log] [blame]
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001---
2- job-template:
3 # Job template for Java verify jobs
4 #
5 # The purpose of this job template is to run "maven clean install" for
6 # projects using this template.
7 #
8 # Required Variables:
9 # branch: git branch (eg. stable/lithium or master)
10
11 name: '{project}-{stream}-verify-java'
12
13 project-type: freestyle
14 concurrent: true
15 node: '{build-node}'
16
17 properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080018 - ecomp-infra-properties:
19 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080020
21 parameters:
22 - ecomp-infra-parameters:
23 project: '{project}'
24 branch: '{branch}'
25 refspec: 'refs/heads/{branch}'
26
27 scm:
28 - gerrit-trigger-scm:
29 refspec: '$GERRIT_REFSPEC'
30 choosing-strategy: 'gerrit'
31
32 wrappers:
33 - ecomp-infra-wrappers:
34 build-timeout: '{build-timeout}'
35
36 triggers:
37 - gerrit-trigger-patch-submitted:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080038 server: '{server-name}'
39 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080040 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080041 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080042
43 builders:
44 - provide-maven-settings:
45 global-settings-file: 'global-settings'
46 settings-file: '{mvn-settings}'
47 - maven-target:
48 maven-version: 'mvn33'
49 goals: 'clean install'
50 settings: '{mvn-settings}'
51 settings-type: cfp
52 global-settings: 'global-settings'
53 global-settings-type: cfp
54
Andrew Grimberg83f7ebf2017-01-31 04:44:44 -080055# publishers:
56# - ecomp-infra-shiplogs:
57# maven-version: 'mvn33'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080058
59- job-template:
60 # Job template for Java verify jobs with POM not at the root
61 #
62 # The purpose of this job template is to run "maven clean install" for
63 # projects using this template.
64 #
65 # Required Variables:
66 # branch: git branch (eg. stable/lithium or master)
67 # pom: name/location of the pom.xml file relative to the workspace
68 # pattern: ant file-path pattern relative to the workspace used to
69 # trigger the job
70
71 name: '{project}-{stream}-{subproject}-verify-java'
72
73 project-type: freestyle
74 concurrent: true
75 node: '{build-node}'
76
77 properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080078 - ecomp-infra-properties:
79 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080080
81 parameters:
82 - ecomp-infra-parameters:
83 project: '{project}'
84 branch: '{branch}'
85 refspec: 'refs/heads/{branch}'
86
87 scm:
88 - gerrit-trigger-scm:
89 refspec: '$GERRIT_REFSPEC'
90 choosing-strategy: 'gerrit'
91
92 wrappers:
93 - ecomp-infra-wrappers:
94 build-timeout: '{build-timeout}'
95
96 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080097 - gerrit-trigger-patch-submitted:
98 server: '{server-name}'
99 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800100 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800101 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800102
103 builders:
104 - provide-maven-settings:
105 global-settings-file: 'global-settings'
106 settings-file: '{mvn-settings}'
107 - maven-target:
108 maven-version: 'mvn33'
109 pom: '{pom}'
110 goals: 'clean install'
111 settings: '{mvn-settings}'
112 settings-type: cfp
113 global-settings: 'global-settings'
114 global-settings-type: cfp
115
Andrew Grimberg83f7ebf2017-01-31 04:44:44 -0800116# publishers:
117# - ecomp-infra-shiplogs:
118# maven-version: 'mvn33'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800119
120- job-template:
121 # Job template for Java merge jobs
122 #
123 # The purpose of this job template is to run "maven clean deploy" for
124 # projects using this template.
125 #
126 # Required Variables:
127 # branch: git branch (eg. stable/lithium or master)
128 name: '{project}-{stream}-merge-java'
129
130 project-type: freestyle
131 node: '{build-node}'
132
133 properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800134 - ecomp-infra-properties:
135 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800136
137 parameters:
138 - ecomp-infra-parameters:
139 project: '{project}'
140 branch: '{branch}'
141 refspec: 'refs/heads/{branch}'
142
143 scm:
144 - gerrit-trigger-scm:
145 refspec: ''
146 choosing-strategy: 'default'
147
148 wrappers:
149 - ecomp-infra-wrappers:
150 build-timeout: '{build-timeout}'
151
152 triggers:
153 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800154 server: '{server-name}'
155 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800156 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800157 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800158
159 builders:
160 - provide-maven-settings:
161 global-settings-file: 'global-settings'
162 settings-file: '{mvn-settings}'
163 - maven-target:
164 maven-version: 'mvn33'
165 # yamllint disable rule:line-length
166 goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.open-o.org'
167 # yamllint enable
168 settings: '{mvn-settings}'
169 settings-type: cfp
170 global-settings: 'global-settings'
171 global-settings-type: cfp
172
Andrew Grimberg83f7ebf2017-01-31 04:44:44 -0800173# publishers:
174# - ecomp-infra-shiplogs:
175# maven-version: 'mvn33'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800176
177- job-template:
178 # Job template for Java merge jobs with POM not at the root
179 #
180 # The purpose of this job template is to run "maven clean deploy" for
181 # projects using this template.
182 #
183 # Required Variables:
184 # branch: git branch (eg. stable/lithium or master)
185 # pom: name/location of the pom.xml file relative to the workspace
186 # pattern: ant file-path pattern relative to the workspace used to
187 # trigger the job
188
189 name: '{project}-{stream}-{subproject}-merge-java'
190
191 project-type: freestyle
192 node: '{build-node}'
193
194 properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800195 - ecomp-infra-properties:
196 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800197
198 parameters:
199 - ecomp-infra-parameters:
200 project: '{project}'
201 branch: '{branch}'
202 refspec: 'refs/heads/{branch}'
203
204 scm:
205 - gerrit-trigger-scm:
206 refspec: ''
207 choosing-strategy: 'default'
208
209 wrappers:
210 - ecomp-infra-wrappers:
211 build-timeout: '{build-timeout}'
212
213 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800214 - gerrit-trigger-patch-merged:
215 server: '{server-name}'
216 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800217 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800218 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800219
220 builders:
221 - provide-maven-settings:
222 global-settings-file: 'global-settings'
223 settings-file: '{mvn-settings}'
224 - maven-target:
225 maven-version: 'mvn33'
226 pom: '{pom}'
227 # yamllint disable rule:line-length
228 goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.open-o.org'
229 # yamllint enable
230 settings: '{mvn-settings}'
231 settings-type: cfp
232 global-settings: 'global-settings'
233 global-settings-type: cfp
234
Andrew Grimberg83f7ebf2017-01-31 04:44:44 -0800235# publishers:
236# - ecomp-infra-shiplogs:
237# maven-version: 'mvn33'