Commit | Line | Data |
---|---|---|
80a0203d MJ |
1 | - defaults: |
2 | name: lttng-scope | |
3 | description: | | |
4 | Nightly build of LTTng Scope. | |
5 | ||
6 | <p>Job is managed by Jenkins Job Builder.</p> | |
7 | ||
8 | project-type: freestyle | |
9 | ||
10 | wrappers: | |
11 | - workspace-cleanup | |
12 | - timestamps | |
13 | - ansicolor | |
14 | ||
15 | scm: | |
16 | - git: | |
17 | url: git://github.com/{github_user}/{github_name}.git | |
18 | browser: githubweb | |
19 | browser-url: https://github.com/{github_user}/{github_name} | |
20 | branches: | |
21 | - origin/{version} | |
22 | skip-tag: true | |
23 | ||
24 | triggers: | |
25 | - pollscm: | |
26 | cron: "@hourly" | |
246f07d3 | 27 | - timed: "@daily" |
80a0203d MJ |
28 | |
29 | properties: | |
30 | - build-discarder: | |
31 | num-to-keep: 7 | |
32 | - github: | |
33 | url: https://github.com/{github_user}/{github_name} | |
34 | ||
35 | ||
36 | ## Templates | |
37 | - job-template: | |
38 | name: lttng-scope_{version}_build | |
39 | defaults: lttng-scope | |
40 | ||
41 | project-type: matrix | |
42 | node: 'master' # Applies only to matrix flyweight task | |
43 | axes: | |
44 | - axis: | |
45 | type: slave | |
46 | name: arch | |
47 | values: '{obj:arch}' | |
80a0203d MJ |
48 | |
49 | wrappers: | |
50 | - workspace-cleanup | |
51 | - timestamps | |
52 | - ansicolor | |
53 | - xvfb: | |
54 | installation-name: "default" | |
55 | auto-display-name: true | |
56 | parallel-build: false | |
57 | screen: 1024x768x24 | |
58 | - timeout: | |
59 | timeout: 120 | |
60 | fail: true | |
61 | type: absolute | |
62 | ||
63 | builders: | |
64 | - shell: | |
65 | !include-raw-escape: scripts/lttng-scope/launch-wm.sh | |
66 | - maven-target: | |
67 | maven-version: "default" | |
68 | goals: "-version" | |
69 | private-repository: true | |
7525e08d | 70 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
80a0203d MJ |
71 | - maven-target: |
72 | maven-version: "default" | |
73 | goals: clean install -Dmaven.test.skip=false | |
74 | private-repository: true | |
75 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' | |
76 | properties: | |
77 | - maven.test.failure.ignore=true | |
80a0203d MJ |
78 | |
79 | publishers: | |
80 | - archive: | |
15314957 | 81 | artifacts: '**/target/*.jar' |
80a0203d MJ |
82 | allow-empty: false |
83 | only-if-success: true | |
84 | - junit: | |
85 | results: '**/target/surefire-reports/*.xml' | |
49cf6376 MJ |
86 | - warnings: |
87 | console-log-parsers: | |
88 | - 'Maven' | |
89 | total-thresholds: | |
90 | unstable: | |
91 | total-all: 0 | |
92 | total-high: 0 | |
93 | total-normal: 0 | |
94 | total-low: 0 | |
80a0203d MJ |
95 | - workspace-cleanup |
96 | - email-ext: | |
efb036df JR |
97 | recipients: '{obj:email_for_all_failure}' |
98 | always: false | |
99 | unstable: true | |
100 | first-failure: false | |
101 | first-unstable: false | |
102 | not-built: false | |
103 | aborted: false | |
104 | regression: false | |
105 | failure: true | |
106 | second-failure: false | |
107 | improvement: false | |
108 | still-failing: false | |
109 | success: false | |
110 | fixed: false | |
111 | fixed-unhealthy: true | |
112 | still-unstable: false | |
113 | pre-build: false | |
114 | matrix-trigger: only-parent | |
115 | send-to: | |
116 | - recipients | |
117 | - email-ext: | |
118 | recipients: '{obj:email_to}' | |
119 | reply-to: ci-notification@lists.lttng.org | |
120 | always: false | |
121 | unstable: false | |
122 | first-failure: true | |
123 | first-unstable: true | |
124 | not-built: false | |
125 | aborted: false | |
126 | regression: false | |
127 | failure: false | |
128 | second-failure: false | |
129 | improvement: false | |
130 | still-failing: false | |
131 | success: false | |
132 | fixed: false | |
133 | fixed-unhealthy: true | |
134 | still-unstable: false | |
135 | pre-build: false | |
136 | matrix-trigger: only-parent | |
137 | send-to: | |
138 | - recipients | |
80a0203d MJ |
139 | |
140 | - job-template: | |
141 | name: lttng-scope_{version}_winbuild | |
142 | defaults: lttng-scope | |
143 | ||
144 | project-type: matrix | |
145 | node: 'master' # Applies only to matrix flyweight task | |
146 | axes: | |
147 | - axis: | |
148 | type: slave | |
149 | name: arch | |
150 | values: '{obj:arch}' | |
151 | ||
152 | scm: | |
153 | - git: | |
154 | url: git://github.com/{github_user}/{github_name}.git | |
155 | browser: githubweb | |
156 | browser-url: https://github.com/{github_user}/{github_name} | |
157 | branches: | |
158 | - origin/{version} | |
159 | skip-tag: true | |
160 | git-tool: 'jgit' # Use jgit on windows to work around path too long | |
161 | ||
162 | wrappers: | |
163 | - workspace-cleanup | |
164 | - timestamps | |
165 | - ansicolor | |
166 | - timeout: | |
167 | timeout: 120 | |
168 | fail: true | |
169 | type: absolute | |
170 | ||
171 | builders: | |
172 | - maven-target: | |
173 | maven-version: "default" | |
174 | goals: clean install -Dmaven.test.skip=false | |
175 | private-repository: true | |
176 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' | |
177 | properties: | |
178 | - maven.test.failure.ignore=true | |
80a0203d MJ |
179 | |
180 | publishers: | |
181 | - archive: | |
15314957 | 182 | artifacts: '**/target/*.jar' |
80a0203d MJ |
183 | allow-empty: false |
184 | only-if-success: true | |
185 | - junit: | |
186 | results: '**/target/surefire-reports/*.xml' | |
49cf6376 MJ |
187 | - warnings: |
188 | console-log-parsers: | |
189 | - 'Maven' | |
190 | total-thresholds: | |
191 | unstable: | |
192 | total-all: 0 | |
193 | total-high: 0 | |
194 | total-normal: 0 | |
195 | total-low: 0 | |
80a0203d MJ |
196 | - workspace-cleanup |
197 | - email-ext: | |
efb036df JR |
198 | recipients: '{obj:email_for_all_failure}' |
199 | always: false | |
200 | unstable: true | |
201 | first-failure: false | |
202 | first-unstable: false | |
203 | not-built: false | |
204 | aborted: false | |
205 | regression: false | |
206 | failure: true | |
207 | second-failure: false | |
208 | improvement: false | |
209 | still-failing: false | |
210 | success: false | |
211 | fixed: false | |
212 | fixed-unhealthy: true | |
213 | still-unstable: false | |
214 | pre-build: false | |
215 | matrix-trigger: only-parent | |
216 | send-to: | |
217 | - recipients | |
218 | - email-ext: | |
219 | recipients: '{obj:email_to}' | |
220 | reply-to: ci-notification@lists.lttng.org | |
221 | always: false | |
222 | unstable: false | |
223 | first-failure: true | |
224 | first-unstable: true | |
225 | not-built: false | |
226 | aborted: false | |
227 | regression: false | |
228 | failure: false | |
229 | second-failure: false | |
230 | improvement: false | |
231 | still-failing: false | |
232 | success: false | |
233 | fixed: false | |
234 | fixed-unhealthy: true | |
235 | still-unstable: false | |
236 | pre-build: false | |
237 | matrix-trigger: only-parent | |
238 | send-to: | |
239 | - recipients | |
240 | ||
80a0203d MJ |
241 | |
242 | ||
243 | - job-template: | |
244 | name: lttng-scope_{version}_macosxbuild | |
245 | defaults: lttng-scope | |
246 | ||
247 | project-type: matrix | |
248 | node: 'master' # Applies only to matrix flyweight task | |
249 | axes: | |
250 | - axis: | |
251 | type: slave | |
252 | name: arch | |
253 | values: '{obj:arch}' | |
254 | ||
255 | wrappers: | |
256 | - workspace-cleanup | |
257 | - timestamps | |
258 | - ansicolor | |
259 | - timeout: | |
260 | timeout: 120 | |
261 | fail: true | |
262 | type: absolute | |
263 | ||
264 | builders: | |
265 | - maven-target: | |
266 | maven-version: "default" | |
267 | goals: "-version" | |
268 | private-repository: true | |
7525e08d | 269 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
80a0203d MJ |
270 | - maven-target: |
271 | maven-version: "default" | |
272 | goals: clean install -Dmaven.test.skip=false | |
273 | private-repository: true | |
274 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' | |
275 | properties: | |
276 | - maven.test.failure.ignore=true | |
80a0203d MJ |
277 | |
278 | publishers: | |
279 | - archive: | |
15314957 | 280 | artifacts: '**/target/*.jar' |
80a0203d MJ |
281 | allow-empty: false |
282 | only-if-success: true | |
283 | - junit: | |
284 | results: '**/target/surefire-reports/*.xml' | |
49cf6376 MJ |
285 | - warnings: |
286 | console-log-parsers: | |
287 | - 'Maven' | |
288 | total-thresholds: | |
289 | unstable: | |
290 | total-all: 0 | |
291 | total-high: 0 | |
292 | total-normal: 0 | |
293 | total-low: 0 | |
80a0203d MJ |
294 | - workspace-cleanup |
295 | - email-ext: | |
efb036df JR |
296 | recipients: '{obj:email_for_all_failure}' |
297 | always: false | |
298 | unstable: true | |
299 | first-failure: false | |
300 | first-unstable: false | |
301 | not-built: false | |
302 | aborted: false | |
303 | regression: false | |
304 | failure: true | |
305 | second-failure: false | |
306 | improvement: false | |
307 | still-failing: false | |
308 | success: false | |
309 | fixed: false | |
310 | fixed-unhealthy: true | |
311 | still-unstable: false | |
312 | pre-build: false | |
313 | matrix-trigger: only-parent | |
314 | send-to: | |
315 | - recipients | |
316 | - email-ext: | |
317 | recipients: '{obj:email_to}' | |
318 | reply-to: ci-notification@lists.lttng.org | |
319 | always: false | |
320 | unstable: false | |
321 | first-failure: true | |
322 | first-unstable: true | |
323 | not-built: false | |
324 | aborted: false | |
325 | regression: false | |
326 | failure: false | |
327 | second-failure: false | |
328 | improvement: false | |
329 | still-failing: false | |
330 | success: false | |
331 | fixed: false | |
332 | fixed-unhealthy: true | |
333 | still-unstable: false | |
334 | pre-build: false | |
335 | matrix-trigger: only-parent | |
336 | send-to: | |
337 | - recipients | |
80a0203d | 338 | |
7525e08d MJ |
339 | - job-template: |
340 | name: lttng-scope_{version}_coverity | |
341 | defaults: lttng-scope | |
342 | node: 'x86-64' | |
343 | ||
344 | triggers: | |
345 | - pollscm: | |
346 | cron: "@daily" | |
347 | ||
348 | wrappers: | |
349 | - workspace-cleanup | |
350 | - timestamps | |
351 | - ansicolor: | |
352 | colormap: xterm | |
353 | - credentials-binding: | |
354 | - username-password-separated: | |
355 | credential-id: lttng-scope_coverity_token | |
356 | username: COVERITY_SCAN_PROJECT_NAME | |
357 | password: COVERITY_SCAN_TOKEN | |
358 | ||
359 | scm: | |
360 | - git: | |
361 | url: git://github.com/{github_user}/{github_name}.git | |
362 | browser: githubweb | |
363 | browser-url: https://github.com/{github_user}/{github_name} | |
364 | branches: | |
365 | - origin/{version} | |
366 | skip-tag: true | |
367 | basedir: src/lttng-scope | |
368 | ||
369 | builders: | |
370 | - maven-target: | |
371 | maven-version: "default" | |
372 | goals: "-version" | |
373 | private-repository: true | |
374 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' | |
375 | - shell: | |
376 | !include-raw-escape: scripts/common/coverity.sh | |
377 | ||
378 | publishers: | |
379 | - workspace-cleanup | |
380 | - archive: | |
381 | artifacts: 'analysis-results.tgz,cov-int/**' | |
382 | allow-empty: false | |
383 | ||
80a0203d MJ |
384 | |
385 | ## Project | |
386 | - project: | |
387 | name: lttng-scope | |
388 | github_user: lttng | |
389 | github_name: lttng-scope | |
efb036df JR |
390 | email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com' |
391 | email_for_all_failure: 'alexmonthy@efficios.com' | |
80a0203d MJ |
392 | version: |
393 | - master | |
394 | jobs: | |
395 | - 'lttng-scope_{version}_build': | |
396 | arch: !!python/tuple [x86-32, x86-64] | |
80a0203d MJ |
397 | - 'lttng-scope_{version}_winbuild': |
398 | arch: !!python/tuple [win64] | |
80a0203d MJ |
399 | - 'lttng-scope_{version}_macosxbuild': |
400 | arch: !!python/tuple [macosx] | |
7525e08d MJ |
401 | - 'lttng-scope_{version}_coverity': |
402 | version: master | |
80a0203d | 403 |