jjb: Remove duplicated warnings
[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
ae855ba1
MJ
7# - coverity
8# - scan-build
9# - pylint
10
11- defaults:
12 name: librseq
13 description: |
14
15 <p>Job is managed by Jenkins Job Builder.</p>
16
17 project-type: freestyle
18
19 wrappers:
5745cfaa
MJ
20 - ansicolor: &librseq_wrapper_ansicolor_defaults
21 colormap: xterm
22 - timeout: &librseq_wrapper_timeout_defaults
ae855ba1
MJ
23 timeout: 10
24 fail: true
733146f2 25 type: no-activity
ae855ba1 26 - timestamps
5745cfaa 27 - workspace-cleanup
ae855ba1
MJ
28
29 scm:
30 - git:
4d27af8f 31 url: https://github.com/{github_user}/{github_name}.git
ae855ba1
MJ
32 browser: githubweb
33 browser-url: https://github.com/{github_user}/{github_name}
34 branches:
35 - origin/{version}
36 basedir: src/librseq
37 skip-tag: true
38
39 triggers:
40 - pollscm:
41 cron: "@hourly"
42
43 properties:
44 - inject:
45 properties-content: |
46 PROJECT_NAME=librseq
47 - build-discarder:
3b228cdd
MJ
48 num-to-keep: 10
49 artifact-num-to-keep: 2
ae855ba1
MJ
50 - github:
51 url: https://github.com/{github_user}/{github_name}
52
53
54## Anchors
5745cfaa
MJ
55- librseq_matrix_axes_defaults: &librseq_matrix_axes_defaults
56 name: 'librseq_matrix_axes_defaults'
ae855ba1
MJ
57 project-type: matrix
58 node: 'master' # Applies only to matrix flyweight task
9a07183c
MJ
59 execution-strategy:
60 touchstone:
61 expr: '{touchstone}'
62 result: unstable
ae855ba1 63 axes:
5745cfaa 64 - axis: &librseq_matrix_axis_platform
ae855ba1 65 type: slave
9a07183c
MJ
66 name: platform
67 values: '{obj:platforms}'
5745cfaa 68 - axis: &librseq_matrix_axis_conf
ae855ba1
MJ
69 type: user-defined
70 name: conf
9a07183c 71 values: '{obj:confs}'
5745cfaa 72 - axis: &librseq_matrix_axis_build
ae855ba1
MJ
73 type: user-defined
74 name: build
9a07183c 75 values: '{obj:builds}'
ae855ba1 76
5745cfaa
MJ
77- librseq_matrix_axes_cc: &librseq_matrix_axes_cc
78 name: 'librseq_matrix_axes_cc'
ae855ba1
MJ
79 project-type: matrix
80 node: 'master' # Applies only to matrix flyweight task
9a07183c
MJ
81 execution-strategy:
82 touchstone:
83 expr: '{touchstone}'
84 result: unstable
ae855ba1 85 axes:
5745cfaa
MJ
86 - axis: *librseq_matrix_axis_platform
87 - axis: *librseq_matrix_axis_conf
88 - axis: *librseq_matrix_axis_build
89 - axis: &librseq_matrix_axis_cc
ae855ba1
MJ
90 type: user-defined
91 name: cc
9a07183c 92 values: '{obj:ccs}'
ae855ba1 93
5745cfaa
MJ
94- librseq_builders_defaults: &librseq_builders_defaults
95 name: 'librseq_builders_defaults'
ae855ba1
MJ
96 builders:
97 - shell:
51c9c62d
MJ
98 !include-raw-escape:
99 - scripts/common/print.sh
100 - scripts/librseq/build.sh
ae855ba1 101
5745cfaa
MJ
102- librseq_publishers_defaults: &librseq_publishers_defaults
103 name: 'librseq_publishers_defaults'
ae855ba1 104 publishers:
5745cfaa 105 - tap: &librseq_publisher_tap_defaults
10c9bf80
MJ
106 results: 'tap/**/*.log'
107 fail-if-no-results: true
108 failed-tests-mark-build-as-failure: true
109 todo-is-failure: false
5745cfaa
MJ
110 - raw: &librseq_publisher_warnings-ng_defaults
111 xml: |
112 <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng">
113 <analysisTools>
114 <io.jenkins.plugins.analysis.warnings.Gcc4>
115 <id/>
116 <name/>
117 <jenkins plugin="plugin-util-api"/>
118 <pattern/>
119 <reportEncoding/>
120 <skipSymbolicLinks>false</skipSymbolicLinks>
121 </io.jenkins.plugins.analysis.warnings.Gcc4>
5745cfaa
MJ
122 </analysisTools>
123 <sourceCodeEncoding/>
124 <sourceDirectory/>
125 <sourceDirectories/>
126 <ignoreQualityGate>false</ignoreQualityGate>
127 <ignoreFailedBuilds>true</ignoreFailedBuilds>
128 <failOnError>false</failOnError>
129 <healthy>0</healthy>
130 <unhealthy>0</unhealthy>
131 <minimumSeverity plugin="analysis-model-api">
132 <name>LOW</name>
133 </minimumSeverity>
134 <filters/>
135 <isEnabledForFailure>true</isEnabledForFailure>
136 <isAggregatingResults>true</isAggregatingResults>
137 <isBlameDisabled>false</isBlameDisabled>
138 <skipPublishingChecks>true</skipPublishingChecks>
139 <publishAllIssues>false</publishAllIssues>
140 <qualityGates>
141 <io.jenkins.plugins.analysis.core.util.QualityGate>
142 <threshold>1</threshold>
143 <type>TOTAL</type>
144 <status>WARNING</status>
145 </io.jenkins.plugins.analysis.core.util.QualityGate>
146 </qualityGates>
147 <trendChartType>AGGREGATION_TOOLS</trendChartType>
148 <scm/>
149 </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
150 - archive: &librseq_publisher_archive_defaults
10c9bf80 151 artifacts: 'build/**,tap/**'
ae855ba1 152 allow-empty: false
5745cfaa
MJ
153 - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
154 clean-if:
155 - failure: false
156 - email-ext: &librseq_publisher_email-ext_defaults
ae855ba1
MJ
157 recipients: '{obj:email_to}'
158 reply-to: ci-notification@lists.lttng.org
159 always: false
160 unstable: false
161 first-failure: true
162 first-unstable: true
163 not-built: false
164 aborted: false
165 regression: false
166 failure: false
167 second-failure: false
168 improvement: false
169 still-failing: false
170 success: false
171 fixed: false
172 fixed-unhealthy: true
173 still-unstable: false
174 pre-build: false
175 matrix-trigger: only-parent
176 send-to:
177 - recipients
178
5745cfaa
MJ
179- librseq_publishers_gerrit: &librseq_publishers_gerrit
180 name: 'librseq_publishers_gerrit'
10c9bf80 181 publishers:
5745cfaa
MJ
182 - tap: *librseq_publisher_tap_defaults
183 - raw: *librseq_publisher_warnings-ng_defaults
184 - archive: *librseq_publisher_archive_defaults
185 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
10c9bf80
MJ
186
187
ae855ba1
MJ
188## Templates
189- job-template:
190 name: librseq_{version}_{buildtype}
191 defaults: librseq
192
5745cfaa
MJ
193 <<: *librseq_matrix_axes_defaults
194 <<: *librseq_builders_defaults
195 <<: *librseq_publishers_defaults
ae855ba1
MJ
196
197- job-template:
198 name: librseq_{version}_{cctype}
199 defaults: librseq
200
5745cfaa
MJ
201 <<: *librseq_matrix_axes_cc
202 <<: *librseq_builders_defaults
203 <<: *librseq_publishers_defaults
ae855ba1 204
10c9bf80
MJ
205- job-template:
206 name: dev_gerrit_librseq_{buildtype}
207 defaults: librseq
208 concurrent: true
209
210 scm:
211 - git:
212 url: https://review.lttng.org/librseq
213 refspec: 'refs/changes/*:refs/changes/*'
214 branches:
215 - '$GERRIT_REFSPEC'
216 basedir: src/librseq
217 skip-tag: true
218
219 triggers:
220 - gerrit:
221 trigger-on:
222 - comment-added-event:
223 approval-category: 'CI-Build'
224 approval-value: 1
225 projects:
226 - project-compare-type: 'PLAIN'
227 project-pattern: 'librseq'
228 branches:
229 - branch-compare-type: 'ANT'
230 branch-pattern: '**'
231
5745cfaa
MJ
232 <<: *librseq_matrix_axes_defaults
233 <<: *librseq_builders_defaults
234 <<: *librseq_publishers_gerrit
10c9bf80
MJ
235
236 properties:
237 - inject:
238 properties-content: |
239 PROJECT_NAME=librseq
240 - build-discarder:
241 days-to-keep: 1
242 - throttle:
243 option: 'category'
244 categories:
245 - 'gerrit-{buildtype}'
246
ae855ba1
MJ
247- job-template:
248 name: librseq_{version}_scan-build
249 defaults: librseq
250 node: 'amd64'
251
252 triggers:
253 - pollscm:
254 cron: "@daily"
255
256 builders:
257 - shell:
258 !include-raw-escape: scripts/common/scan-build.sh
259
260 publishers:
261 - html-publisher:
262 name: 'HTML Report'
263 dir: 'scan-build-archive/'
264 files: 'index.html'
5745cfaa 265 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
ae855ba1
MJ
266
267- job-template:
268 name: librseq_{version}_coverity
269 defaults: librseq
270 node: 'amd64'
271
272 triggers:
273 - pollscm:
274 cron: "@daily"
275
276 wrappers:
5745cfaa
MJ
277 - ansicolor: *librseq_wrapper_ansicolor_defaults
278 - timeout: *librseq_wrapper_timeout_defaults
ae855ba1 279 - timestamps
5745cfaa 280 - workspace-cleanup
ae855ba1
MJ
281 - credentials-binding:
282 - username-password-separated:
283 credential-id: librseq_coverity_token
284 username: COVERITY_SCAN_PROJECT_NAME
285 password: COVERITY_SCAN_TOKEN
286
287 builders:
288 - shell:
289 !include-raw-escape: scripts/common/coverity.sh
290
291 publishers:
292 - workspace-cleanup
293 - archive:
294 artifacts: 'analysis-results.tgz,cov-int/**'
295 allow-empty: false
5745cfaa 296 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
ae855ba1
MJ
297
298- view-template:
72600ad8 299 name: 'Librseq'
ae855ba1
MJ
300 description: 'Restartable sequences'
301 view-type: list
b4c748a8 302 regex: 'librseq_.*'
ae855ba1
MJ
303
304
305## Project
306- project:
307 name: librseq
308 github_user: compudj
309 github_name: librseq
310 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
311 version:
312 - master
313 jobs:
314 - 'librseq_{version}_{buildtype}':
5745cfaa 315 buildtype: linuxbuild
9a07183c
MJ
316 platforms: !!python/tuple [jammy-amd64]
317 builds: !!python/tuple [std, oot, dist, oot-dist]
318 confs: !!python/tuple [std, static]
319 touchstone: '(build == "std") && (conf == "std")'
ae855ba1
MJ
320 - 'librseq_{version}_{cctype}':
321 cctype: gccbuild
9a07183c
MJ
322 platforms: !!python/tuple [jammy-amd64]
323 builds: !!python/tuple [std]
324 confs: !!python/tuple [std, static]
325 ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
326 touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
ae855ba1
MJ
327 - 'librseq_{version}_{cctype}':
328 cctype: clangbuild
9a07183c
MJ
329 platforms: !!python/tuple [jammy-amd64]
330 builds: !!python/tuple [std]
331 confs: !!python/tuple [std, static]
332 ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
333 touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
ae855ba1
MJ
334 - 'librseq_{version}_{buildtype}':
335 buildtype: portbuild
9a07183c
MJ
336 platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
337 builds: !!python/tuple [std]
338 confs: !!python/tuple [std, static]
339 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
ae855ba1 340
10c9bf80
MJ
341- project:
342 name: gerrit-librseq
343 github_user: compudj
344 github_name: librseq
345 jobs:
346 - 'dev_gerrit_librseq_{buildtype}':
5745cfaa 347 buildtype: linuxbuild
9a07183c
MJ
348 platforms: !!python/tuple [jammy-amd64]
349 builds: !!python/tuple [std, oot, dist, oot-dist]
350 confs: !!python/tuple [std, static]
351 touchstone: '(build == "std") && (conf == "std")'
10c9bf80 352
ae855ba1
MJ
353- project:
354 name: librseq-views
355 views:
72600ad8 356 - Librseq
This page took 0.039738 seconds and 4 git commands to generate.