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