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