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