ansible: Update hosts
[lttng-ci.git] / jobs / librseq.yaml
CommitLineData
ae855ba1
MJ
1# {project}_{version}_{jobtype}
2# librseq_stable-0.8_build
3#
4# jobtypes:
5# - build
6# - portbuild
7# - cppcheck
8# - coverity
9# - scan-build
10# - pylint
11
12- defaults:
13 name: librseq
14 description: |
15
16 <p>Job is managed by Jenkins Job Builder.</p>
17
18 project-type: freestyle
19
20 wrappers:
21 - ansicolor
22 - timeout:
23 timeout: 10
24 fail: true
733146f2 25 type: no-activity
ae855ba1
MJ
26 - timestamps
27 - workspace-cleanup:
28 clean-if:
29 - failure: false
30
31 scm:
32 - git:
33 url: git://github.com/{github_user}/{github_name}.git
34 browser: githubweb
35 browser-url: https://github.com/{github_user}/{github_name}
36 branches:
37 - origin/{version}
38 basedir: src/librseq
39 skip-tag: true
40
41 triggers:
42 - pollscm:
43 cron: "@hourly"
44
45 properties:
46 - inject:
47 properties-content: |
48 PROJECT_NAME=librseq
49 - build-discarder:
50 num-to-keep: 2
51 - github:
52 url: https://github.com/{github_user}/{github_name}
53
54
55## Anchors
56- librseq_build_axes_defaults: &librseq_build_axes_defaults
57 name: 'librseq_build_axes_defaults'
58 project-type: matrix
59 node: 'master' # Applies only to matrix flyweight task
60 axes:
61 - axis:
62 type: slave
63 name: arch
64 values: '{obj:arch}'
65 - axis:
66 type: user-defined
67 name: conf
68 values: '{obj:conf}'
69 - axis:
70 type: user-defined
71 name: build
72 values: '{obj:build}'
73
74- librseq_build_axes_cc: &librseq_build_axes_cc
75 name: 'librseq_build_axes_cc'
76 project-type: matrix
77 node: 'master' # Applies only to matrix flyweight task
78 axes:
79 - axis:
80 type: slave
81 name: arch
82 values: '{obj:arch}'
83 - axis:
84 type: user-defined
85 name: conf
86 values: '{obj:conf}'
87 - axis:
88 type: user-defined
89 name: build
90 values: '{obj:build}'
91 - axis:
92 type: user-defined
93 name: cc
94 values: '{obj:cc}'
95
96- librseq_build_builders_defaults: &librseq_build_builders_defaults
97 name: 'librseq_build_builders_defaults'
98 builders:
99 - shell:
100 !include-raw-escape: scripts/librseq/build.sh
101
102- librseq_build_publishers_defaults: &librseq_build_publishers_defaults
103 name: 'librseq_build_publishers_defaults'
104 publishers:
105 - warnings:
106 console-log-parsers:
107 - 'GNU Make + GNU C Compiler (gcc)'
108 total-thresholds:
109 unstable:
110 total-all: 0
111 total-high: 0
112 total-normal: 0
113 total-low: 0
114 - archive:
115 artifacts: 'build/**'
116 allow-empty: false
117 - ircbot:
118 strategy: new-failure-and-fixed
119 matrix-notifier: only-parent
120 channels:
121 - name: '#lttng'
122 - email-ext:
123 recipients: '{obj:email_to}'
124 reply-to: ci-notification@lists.lttng.org
125 always: false
126 unstable: false
127 first-failure: true
128 first-unstable: true
129 not-built: false
130 aborted: false
131 regression: false
132 failure: false
133 second-failure: false
134 improvement: false
135 still-failing: false
136 success: false
137 fixed: false
138 fixed-unhealthy: true
139 still-unstable: false
140 pre-build: false
141 matrix-trigger: only-parent
142 send-to:
143 - recipients
144
145## Templates
146- job-template:
147 name: librseq_{version}_{buildtype}
148 defaults: librseq
149
150 <<: *librseq_build_axes_defaults
151 <<: *librseq_build_builders_defaults
152 <<: *librseq_build_publishers_defaults
153
154- job-template:
155 name: librseq_{version}_{cctype}
156 defaults: librseq
157
158 <<: *librseq_build_axes_cc
159 <<: *librseq_build_builders_defaults
160 <<: *librseq_build_publishers_defaults
161
162- job-template:
163 name: librseq_{version}_cppcheck
164 defaults: librseq
165
166 triggers:
167 - pollscm:
168 cron: "@daily"
169
170 builders:
171 - shell: |
172 rm -f cppcheck-result.xml
173 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/librseq 2> cppcheck-result.xml
174
175 publishers:
176 - archive:
177 artifacts: 'cppcheck-result.xml'
178 allow-empty: false
179 - cppcheck:
180 pattern: 'cppcheck-result.xml'
181 - email-ext:
182 recipients: '{obj:email_to}'
183 reply-to: ci-notification@lists.lttng.org
184 always: false
185 unstable: false
186 first-failure: true
187 first-unstable: false
188 not-built: false
189 aborted: false
190 regression: false
191 failure: false
192 second-failure: false
193 improvement: false
194 still-failing: false
195 success: false
196 fixed: false
197 fixed-unhealthy: true
198 still-unstable: true
199 pre-build: false
200 matrix-trigger: only-parent
201 send-to:
202 - recipients
203
204- job-template:
205 name: librseq_{version}_scan-build
206 defaults: librseq
207 node: 'amd64'
208
209 triggers:
210 - pollscm:
211 cron: "@daily"
212
213 builders:
214 - shell:
215 !include-raw-escape: scripts/common/scan-build.sh
216
217 publishers:
218 - html-publisher:
219 name: 'HTML Report'
220 dir: 'scan-build-archive/'
221 files: 'index.html'
222
223- job-template:
224 name: librseq_{version}_coverity
225 defaults: librseq
226 node: 'amd64'
227
228 triggers:
229 - pollscm:
230 cron: "@daily"
231
232 wrappers:
233 - ansicolor
234 - timeout:
733146f2 235 timeout: 10
ae855ba1 236 fail: true
733146f2 237 type: no-activity
ae855ba1
MJ
238 - timestamps
239 - workspace-cleanup:
240 clean-if:
241 - failure: false
242 - credentials-binding:
243 - username-password-separated:
244 credential-id: librseq_coverity_token
245 username: COVERITY_SCAN_PROJECT_NAME
246 password: COVERITY_SCAN_TOKEN
247
248 builders:
249 - shell:
250 !include-raw-escape: scripts/common/coverity.sh
251
252 publishers:
253 - workspace-cleanup
254 - archive:
255 artifacts: 'analysis-results.tgz,cov-int/**'
256 allow-empty: false
257
258- view-template:
259 name: 'rseq'
260 description: 'Restartable sequences'
261 view-type: list
262 regex: 'librseq_.*|linux-rseq_.*'
263
264
265## Project
266- project:
267 name: librseq
268 github_user: compudj
269 github_name: librseq
270 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
271 version:
272 - master
273 jobs:
274 - 'librseq_{version}_{buildtype}':
275 buildtype: build
276 arch: !!python/tuple [amd64]
cbabc427 277 build: !!python/tuple [std, oot, dist, oot-dist]
ae855ba1
MJ
278 conf: !!python/tuple [std, static]
279 - 'librseq_{version}_{cctype}':
280 cctype: gccbuild
281 arch: !!python/tuple [amd64]
282 build: !!python/tuple [std]
283 conf: !!python/tuple [std, static]
284 cc: !!python/tuple [gcc-4.8, gcc-5, gcc-6, gcc-7, gcc-8]
285 - 'librseq_{version}_{cctype}':
286 cctype: clangbuild
287 arch: !!python/tuple [amd64]
288 build: !!python/tuple [std]
289 conf: !!python/tuple [std, static]
290 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
291 - 'librseq_{version}_{buildtype}':
292 buildtype: portbuild
293 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
294 build: !!python/tuple [std]
295 conf: !!python/tuple [std, static]
296# - 'librseq_{version}_cppcheck'
297# - 'librseq_{version}_scan-build'
298# - 'librseq_{version}_coverity':
299# version: master
300
301- project:
302 name: librseq-views
303 views:
304 - rseq
This page took 0.032143 seconds and 4 git commands to generate.