jjb: Add ctf-java
[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"
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
7525e08d 75 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
80a0203d
MJ
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 - workspace-cleanup
93 - email-ext:
94 recipients: alex@voxpopuli.im
95 matrix-trigger: only-parent
96# - ircbot:
97# strategy: new-failure-and-fixed
98# matrix-notifier: only-parent
99# channels:
100# - name: '#lttng'
101
102
103- job-template:
104 name: lttng-scope_{version}_winbuild
105 defaults: lttng-scope
106
107 project-type: matrix
108 node: 'master' # Applies only to matrix flyweight task
109 axes:
110 - axis:
111 type: slave
112 name: arch
113 values: '{obj:arch}'
114
115 scm:
116 - git:
117 url: git://github.com/{github_user}/{github_name}.git
118 browser: githubweb
119 browser-url: https://github.com/{github_user}/{github_name}
120 branches:
121 - origin/{version}
122 skip-tag: true
123 git-tool: 'jgit' # Use jgit on windows to work around path too long
124
125 wrappers:
126 - workspace-cleanup
127 - timestamps
128 - ansicolor
129 - timeout:
130 timeout: 120
131 fail: true
132 type: absolute
133
134 builders:
135 - maven-target:
136 maven-version: "default"
137 goals: clean install -Dmaven.test.skip=false
138 private-repository: true
139 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
140 properties:
141 - maven.test.failure.ignore=true
142 - eclipse.p2.mirrors=false
143
144 publishers:
145 - archive:
146 artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
147 allow-empty: false
148 only-if-success: true
149 - junit:
150 results: '**/target/surefire-reports/*.xml'
151 - workspace-cleanup
152 - email-ext:
153 recipients: alex@voxpopuli.im
154 matrix-trigger: only-parent
155# - ircbot:
156# strategy: new-failure-and-fixed
157# matrix-notifier: only-parent
158# channels:
159# - name: '#lttng'
160
161
162- job-template:
163 name: lttng-scope_{version}_macosxbuild
164 defaults: lttng-scope
165
166 project-type: matrix
167 node: 'master' # Applies only to matrix flyweight task
168 axes:
169 - axis:
170 type: slave
171 name: arch
172 values: '{obj:arch}'
173
174 wrappers:
175 - workspace-cleanup
176 - timestamps
177 - ansicolor
178 - timeout:
179 timeout: 120
180 fail: true
181 type: absolute
182
183 builders:
184 - maven-target:
185 maven-version: "default"
186 goals: "-version"
187 private-repository: true
7525e08d 188 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
80a0203d
MJ
189 - maven-target:
190 maven-version: "default"
191 goals: clean install -Dmaven.test.skip=false
192 private-repository: true
193 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
194 properties:
195 - maven.test.failure.ignore=true
196 - eclipse.p2.mirrors=false
197
198 publishers:
199 - archive:
200 artifacts: 'releng/org.lttng.scope.rcp.product/target/repository/**,releng/org.lttng.scope.rcp.product/target/products/*'
201 allow-empty: false
202 only-if-success: true
203 - junit:
204 results: '**/target/surefire-reports/*.xml'
205 - workspace-cleanup
206 - email-ext:
207 recipients: alex@voxpopuli.im
208 matrix-trigger: only-parent
209# - ircbot:
210# strategy: new-failure-and-fixed
211# matrix-notifier: only-parent
212# channels:
213# - name: '#lttng'
214
7525e08d
MJ
215- job-template:
216 name: lttng-scope_{version}_coverity
217 defaults: lttng-scope
218 node: 'x86-64'
219
220 triggers:
221 - pollscm:
222 cron: "@daily"
223
224 wrappers:
225 - workspace-cleanup
226 - timestamps
227 - ansicolor:
228 colormap: xterm
229 - credentials-binding:
230 - username-password-separated:
231 credential-id: lttng-scope_coverity_token
232 username: COVERITY_SCAN_PROJECT_NAME
233 password: COVERITY_SCAN_TOKEN
234
235 scm:
236 - git:
237 url: git://github.com/{github_user}/{github_name}.git
238 browser: githubweb
239 browser-url: https://github.com/{github_user}/{github_name}
240 branches:
241 - origin/{version}
242 skip-tag: true
243 basedir: src/lttng-scope
244
245 builders:
246 - maven-target:
247 maven-version: "default"
248 goals: "-version"
249 private-repository: true
250 settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4'
251 - shell:
252 !include-raw-escape: scripts/common/coverity.sh
253
254 publishers:
255 - workspace-cleanup
256 - archive:
257 artifacts: 'analysis-results.tgz,cov-int/**'
258 allow-empty: false
259
80a0203d
MJ
260
261## Project
262- project:
263 name: lttng-scope
264 github_user: lttng
265 github_name: lttng-scope
266 version:
267 - master
268 jobs:
269 - 'lttng-scope_{version}_build':
270 arch: !!python/tuple [x86-32, x86-64]
80a0203d
MJ
271 - 'lttng-scope_{version}_winbuild':
272 arch: !!python/tuple [win64]
80a0203d
MJ
273 - 'lttng-scope_{version}_macosxbuild':
274 arch: !!python/tuple [macosx]
7525e08d
MJ
275 - 'lttng-scope_{version}_coverity':
276 version: master
80a0203d 277
This page took 0.050184 seconds and 4 git commands to generate.