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