jjb: lttng-ust master requires liburcu master
[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"
27
28 properties:
29 - build-discarder:
30 num-to-keep: 7
31 - github:
32 url: https://github.com/{github_user}/{github_name}
33
34
35## Templates
36- job-template:
37 name: lttng-scope_{version}_build
38 defaults: lttng-scope
39
40 project-type: matrix
41 node: 'master' # Applies only to matrix flyweight task
42 axes:
43 - axis:
44 type: slave
45 name: arch
46 values: '{obj:arch}'
47 - axis:
48 type: user-defined
49 name: SWT_GTK3
50 values:
51 - "0"
80a0203d
MJ
52
53 wrappers:
54 - workspace-cleanup
55 - timestamps
56 - ansicolor
57 - xvfb:
58 installation-name: "default"
59 auto-display-name: true
60 parallel-build: false
61 screen: 1024x768x24
62 - timeout:
63 timeout: 120
64 fail: true
65 type: absolute
66
67 builders:
68 - shell:
69 !include-raw-escape: scripts/lttng-scope/launch-wm.sh
70 - maven-target:
71 maven-version: "default"
72 goals: "-version"
73 private-repository: true
7525e08d 74 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
80a0203d
MJ
75 - maven-target:
76 maven-version: "default"
77 goals: clean install -Dmaven.test.skip=false
78 private-repository: true
79 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
80 properties:
81 - maven.test.failure.ignore=true
80a0203d
MJ
82
83 publishers:
84 - archive:
15314957 85 artifacts: '**/target/*.jar'
80a0203d
MJ
86 allow-empty: false
87 only-if-success: true
88 - junit:
89 results: '**/target/surefire-reports/*.xml'
49cf6376
MJ
90 - warnings:
91 console-log-parsers:
92 - 'Maven'
93 total-thresholds:
94 unstable:
95 total-all: 0
96 total-high: 0
97 total-normal: 0
98 total-low: 0
80a0203d
MJ
99 - workspace-cleanup
100 - email-ext:
101 recipients: alex@voxpopuli.im
102 matrix-trigger: only-parent
103# - ircbot:
104# strategy: new-failure-and-fixed
105# matrix-notifier: only-parent
106# channels:
107# - name: '#lttng'
108
109
110- job-template:
111 name: lttng-scope_{version}_winbuild
112 defaults: lttng-scope
113
114 project-type: matrix
115 node: 'master' # Applies only to matrix flyweight task
116 axes:
117 - axis:
118 type: slave
119 name: arch
120 values: '{obj:arch}'
121
122 scm:
123 - git:
124 url: git://github.com/{github_user}/{github_name}.git
125 browser: githubweb
126 browser-url: https://github.com/{github_user}/{github_name}
127 branches:
128 - origin/{version}
129 skip-tag: true
130 git-tool: 'jgit' # Use jgit on windows to work around path too long
131
132 wrappers:
133 - workspace-cleanup
134 - timestamps
135 - ansicolor
136 - timeout:
137 timeout: 120
138 fail: true
139 type: absolute
140
141 builders:
142 - maven-target:
143 maven-version: "default"
144 goals: clean install -Dmaven.test.skip=false
145 private-repository: true
146 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
147 properties:
148 - maven.test.failure.ignore=true
80a0203d
MJ
149
150 publishers:
151 - archive:
15314957 152 artifacts: '**/target/*.jar'
80a0203d
MJ
153 allow-empty: false
154 only-if-success: true
155 - junit:
156 results: '**/target/surefire-reports/*.xml'
49cf6376
MJ
157 - warnings:
158 console-log-parsers:
159 - 'Maven'
160 total-thresholds:
161 unstable:
162 total-all: 0
163 total-high: 0
164 total-normal: 0
165 total-low: 0
80a0203d
MJ
166 - workspace-cleanup
167 - email-ext:
168 recipients: alex@voxpopuli.im
169 matrix-trigger: only-parent
170# - ircbot:
171# strategy: new-failure-and-fixed
172# matrix-notifier: only-parent
173# channels:
174# - name: '#lttng'
175
176
177- job-template:
178 name: lttng-scope_{version}_macosxbuild
179 defaults: lttng-scope
180
181 project-type: matrix
182 node: 'master' # Applies only to matrix flyweight task
183 axes:
184 - axis:
185 type: slave
186 name: arch
187 values: '{obj:arch}'
188
189 wrappers:
190 - workspace-cleanup
191 - timestamps
192 - ansicolor
193 - timeout:
194 timeout: 120
195 fail: true
196 type: absolute
197
198 builders:
199 - maven-target:
200 maven-version: "default"
201 goals: "-version"
202 private-repository: true
7525e08d 203 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
80a0203d
MJ
204 - maven-target:
205 maven-version: "default"
206 goals: clean install -Dmaven.test.skip=false
207 private-repository: true
208 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
209 properties:
210 - maven.test.failure.ignore=true
80a0203d
MJ
211
212 publishers:
213 - archive:
15314957 214 artifacts: '**/target/*.jar'
80a0203d
MJ
215 allow-empty: false
216 only-if-success: true
217 - junit:
218 results: '**/target/surefire-reports/*.xml'
49cf6376
MJ
219 - warnings:
220 console-log-parsers:
221 - 'Maven'
222 total-thresholds:
223 unstable:
224 total-all: 0
225 total-high: 0
226 total-normal: 0
227 total-low: 0
80a0203d
MJ
228 - workspace-cleanup
229 - email-ext:
230 recipients: alex@voxpopuli.im
231 matrix-trigger: only-parent
232# - ircbot:
233# strategy: new-failure-and-fixed
234# matrix-notifier: only-parent
235# channels:
236# - name: '#lttng'
237
7525e08d
MJ
238- job-template:
239 name: lttng-scope_{version}_coverity
240 defaults: lttng-scope
241 node: 'x86-64'
242
243 triggers:
244 - pollscm:
245 cron: "@daily"
246
247 wrappers:
248 - workspace-cleanup
249 - timestamps
250 - ansicolor:
251 colormap: xterm
252 - credentials-binding:
253 - username-password-separated:
254 credential-id: lttng-scope_coverity_token
255 username: COVERITY_SCAN_PROJECT_NAME
256 password: COVERITY_SCAN_TOKEN
257
258 scm:
259 - git:
260 url: git://github.com/{github_user}/{github_name}.git
261 browser: githubweb
262 browser-url: https://github.com/{github_user}/{github_name}
263 branches:
264 - origin/{version}
265 skip-tag: true
266 basedir: src/lttng-scope
267
268 builders:
269 - maven-target:
270 maven-version: "default"
271 goals: "-version"
272 private-repository: true
273 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
274 - shell:
275 !include-raw-escape: scripts/common/coverity.sh
276
277 publishers:
278 - workspace-cleanup
279 - archive:
280 artifacts: 'analysis-results.tgz,cov-int/**'
281 allow-empty: false
282
80a0203d
MJ
283
284## Project
285- project:
286 name: lttng-scope
287 github_user: lttng
288 github_name: lttng-scope
289 version:
290 - master
291 jobs:
292 - 'lttng-scope_{version}_build':
293 arch: !!python/tuple [x86-32, x86-64]
80a0203d
MJ
294 - 'lttng-scope_{version}_winbuild':
295 arch: !!python/tuple [win64]
80a0203d
MJ
296 - 'lttng-scope_{version}_macosxbuild':
297 arch: !!python/tuple [macosx]
7525e08d
MJ
298 - 'lttng-scope_{version}_coverity':
299 version: master
80a0203d 300
This page took 0.034937 seconds and 4 git commands to generate.