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