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