Remove cppcheck jobs
[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 todo-is-failure: false
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>
122 <io.jenkins.plugins.analysis.warnings.Clang>
123 <id/>
124 <name/>
125 <jenkins plugin="plugin-util-api"/>
126 <pattern/>
127 <reportEncoding/>
128 <skipSymbolicLinks>false</skipSymbolicLinks>
129 </io.jenkins.plugins.analysis.warnings.Clang>
130 </analysisTools>
131 <sourceCodeEncoding/>
132 <sourceDirectory/>
133 <sourceDirectories/>
134 <ignoreQualityGate>false</ignoreQualityGate>
135 <ignoreFailedBuilds>true</ignoreFailedBuilds>
136 <failOnError>false</failOnError>
137 <healthy>0</healthy>
138 <unhealthy>0</unhealthy>
139 <minimumSeverity plugin="analysis-model-api">
140 <name>LOW</name>
141 </minimumSeverity>
142 <filters/>
143 <isEnabledForFailure>true</isEnabledForFailure>
144 <isAggregatingResults>true</isAggregatingResults>
145 <isBlameDisabled>false</isBlameDisabled>
146 <skipPublishingChecks>true</skipPublishingChecks>
147 <publishAllIssues>false</publishAllIssues>
148 <qualityGates>
149 <io.jenkins.plugins.analysis.core.util.QualityGate>
150 <threshold>1</threshold>
151 <type>TOTAL</type>
152 <status>WARNING</status>
153 </io.jenkins.plugins.analysis.core.util.QualityGate>
154 </qualityGates>
155 <trendChartType>AGGREGATION_TOOLS</trendChartType>
156 <scm/>
157 </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
158 - archive: &librseq_publisher_archive_defaults
159 artifacts: 'build/**,tap/**'
160 allow-empty: false
161 - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
162 clean-if:
163 - failure: false
164 - email-ext: &librseq_publisher_email-ext_defaults
165 recipients: '{obj:email_to}'
166 reply-to: ci-notification@lists.lttng.org
167 always: false
168 unstable: false
169 first-failure: true
170 first-unstable: true
171 not-built: false
172 aborted: false
173 regression: false
174 failure: false
175 second-failure: false
176 improvement: false
177 still-failing: false
178 success: false
179 fixed: false
180 fixed-unhealthy: true
181 still-unstable: false
182 pre-build: false
183 matrix-trigger: only-parent
184 send-to:
185 - recipients
186
187 - librseq_publishers_gerrit: &librseq_publishers_gerrit
188 name: 'librseq_publishers_gerrit'
189 publishers:
190 - tap: *librseq_publisher_tap_defaults
191 - raw: *librseq_publisher_warnings-ng_defaults
192 - archive: *librseq_publisher_archive_defaults
193 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
194
195
196 ## Templates
197 - job-template:
198 name: librseq_{version}_{buildtype}
199 defaults: librseq
200
201 <<: *librseq_matrix_axes_defaults
202 <<: *librseq_builders_defaults
203 <<: *librseq_publishers_defaults
204
205 - job-template:
206 name: librseq_{version}_{cctype}
207 defaults: librseq
208
209 <<: *librseq_matrix_axes_cc
210 <<: *librseq_builders_defaults
211 <<: *librseq_publishers_defaults
212
213 - job-template:
214 name: dev_gerrit_librseq_{buildtype}
215 defaults: librseq
216 concurrent: true
217
218 scm:
219 - git:
220 url: https://review.lttng.org/librseq
221 refspec: 'refs/changes/*:refs/changes/*'
222 branches:
223 - '$GERRIT_REFSPEC'
224 basedir: src/librseq
225 skip-tag: true
226
227 triggers:
228 - gerrit:
229 trigger-on:
230 - comment-added-event:
231 approval-category: 'CI-Build'
232 approval-value: 1
233 projects:
234 - project-compare-type: 'PLAIN'
235 project-pattern: 'librseq'
236 branches:
237 - branch-compare-type: 'ANT'
238 branch-pattern: '**'
239
240 <<: *librseq_matrix_axes_defaults
241 <<: *librseq_builders_defaults
242 <<: *librseq_publishers_gerrit
243
244 properties:
245 - inject:
246 properties-content: |
247 PROJECT_NAME=librseq
248 - build-discarder:
249 days-to-keep: 1
250 - throttle:
251 option: 'category'
252 categories:
253 - 'gerrit-{buildtype}'
254
255 - job-template:
256 name: librseq_{version}_scan-build
257 defaults: librseq
258 node: 'amd64'
259
260 triggers:
261 - pollscm:
262 cron: "@daily"
263
264 builders:
265 - shell:
266 !include-raw-escape: scripts/common/scan-build.sh
267
268 publishers:
269 - html-publisher:
270 name: 'HTML Report'
271 dir: 'scan-build-archive/'
272 files: 'index.html'
273 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
274
275 - job-template:
276 name: librseq_{version}_coverity
277 defaults: librseq
278 node: 'amd64'
279
280 triggers:
281 - pollscm:
282 cron: "@daily"
283
284 wrappers:
285 - ansicolor: *librseq_wrapper_ansicolor_defaults
286 - timeout: *librseq_wrapper_timeout_defaults
287 - timestamps
288 - workspace-cleanup
289 - credentials-binding:
290 - username-password-separated:
291 credential-id: librseq_coverity_token
292 username: COVERITY_SCAN_PROJECT_NAME
293 password: COVERITY_SCAN_TOKEN
294
295 builders:
296 - shell:
297 !include-raw-escape: scripts/common/coverity.sh
298
299 publishers:
300 - workspace-cleanup
301 - archive:
302 artifacts: 'analysis-results.tgz,cov-int/**'
303 allow-empty: false
304 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
305
306 - view-template:
307 name: 'Librseq'
308 description: 'Restartable sequences'
309 view-type: list
310 regex: 'librseq_.*'
311
312
313 ## Project
314 - project:
315 name: librseq
316 github_user: compudj
317 github_name: librseq
318 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
319 version:
320 - master
321 jobs:
322 - 'librseq_{version}_{buildtype}':
323 buildtype: linuxbuild
324 platforms: !!python/tuple [jammy-amd64]
325 builds: !!python/tuple [std, oot, dist, oot-dist]
326 confs: !!python/tuple [std, static]
327 touchstone: '(build == "std") && (conf == "std")'
328 - 'librseq_{version}_{cctype}':
329 cctype: gccbuild
330 platforms: !!python/tuple [jammy-amd64]
331 builds: !!python/tuple [std]
332 confs: !!python/tuple [std, static]
333 ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
334 touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
335 - 'librseq_{version}_{cctype}':
336 cctype: clangbuild
337 platforms: !!python/tuple [jammy-amd64]
338 builds: !!python/tuple [std]
339 confs: !!python/tuple [std, static]
340 ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
341 touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
342 - 'librseq_{version}_{buildtype}':
343 buildtype: portbuild
344 platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
345 builds: !!python/tuple [std]
346 confs: !!python/tuple [std, static]
347 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
348
349 - project:
350 name: gerrit-librseq
351 github_user: compudj
352 github_name: librseq
353 jobs:
354 - 'dev_gerrit_librseq_{buildtype}':
355 buildtype: linuxbuild
356 platforms: !!python/tuple [jammy-amd64]
357 builds: !!python/tuple [std, oot, dist, oot-dist]
358 confs: !!python/tuple [std, static]
359 touchstone: '(build == "std") && (conf == "std")'
360
361 - project:
362 name: librseq-views
363 views:
364 - Librseq
This page took 0.03883 seconds and 5 git commands to generate.