1 # {project}_{version}_{jobtype}
2 # librseq_stable-0.8_build
15 <p>Job is managed by Jenkins Job Builder.</p>
17 project-type: freestyle
20 - ansicolor: &librseq_wrapper_ansicolor_defaults
22 - timeout: &librseq_wrapper_timeout_defaults
31 url: https://github.com/{github_user}/{github_name}.git
33 browser-url: https://github.com/{github_user}/{github_name}
49 artifact-num-to-keep: 2
51 url: https://github.com/{github_user}/{github_name}
55 - _librseq_matrix_axes_defaults: &librseq_matrix_axes_defaults
56 name: 'librseq_matrix_axes_defaults'
58 node: 'master' # Applies only to matrix flyweight task
64 - axis: &librseq_matrix_axis_platform
67 values: '{obj:platforms}'
68 - axis: &librseq_matrix_axis_conf
72 - axis: &librseq_matrix_axis_build
75 values: '{obj:builds}'
77 - _librseq_matrix_axes_cc: &librseq_matrix_axes_cc
78 name: 'librseq_matrix_axes_cc'
80 node: 'master' # Applies only to matrix flyweight task
86 - axis: *librseq_matrix_axis_platform
87 - axis: *librseq_matrix_axis_conf
88 - axis: *librseq_matrix_axis_build
89 - axis: &librseq_matrix_axis_cc
94 - _librseq_builders_defaults: &librseq_builders_defaults
95 name: 'librseq_builders_defaults'
99 - scripts/common/print.sh
100 - scripts/librseq/build.sh
102 - _librseq_publishers_defaults: &librseq_publishers_defaults
103 name: 'librseq_publishers_defaults'
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
114 <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng">
116 <io.jenkins.plugins.analysis.warnings.Gcc4>
119 <jenkins plugin="plugin-util-api"/>
122 <skipSymbolicLinks>false</skipSymbolicLinks>
123 </io.jenkins.plugins.analysis.warnings.Gcc4>
125 <sourceCodeEncoding/>
128 <ignoreQualityGate>false</ignoreQualityGate>
129 <ignoreFailedBuilds>true</ignoreFailedBuilds>
130 <failOnError>false</failOnError>
132 <unhealthy>0</unhealthy>
133 <minimumSeverity plugin="analysis-model-api">
137 <isEnabledForFailure>true</isEnabledForFailure>
138 <isAggregatingResults>true</isAggregatingResults>
139 <isBlameDisabled>false</isBlameDisabled>
140 <skipPublishingChecks>true</skipPublishingChecks>
141 <publishAllIssues>false</publishAllIssues>
143 <io.jenkins.plugins.analysis.core.util.QualityGate>
144 <threshold>1</threshold>
146 <status>WARNING</status>
147 </io.jenkins.plugins.analysis.core.util.QualityGate>
149 <trendChartType>AGGREGATION_TOOLS</trendChartType>
151 </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
152 - archive: &librseq_publisher_archive_defaults
153 artifacts: 'build/**,tap/**,log/**'
155 - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
158 - ircbot: &librseq_publisher_ircbot_defaults
159 strategy: statechange-only
160 message-type: summary-scm
161 matrix-notifier: only-configurations
162 - email-ext: &librseq_publisher_email-ext_defaults
163 recipients: '{obj:email_to}'
164 reply-to: ci-notification@lists.lttng.org
173 second-failure: false
178 fixed-unhealthy: true
179 still-unstable: false
181 matrix-trigger: only-parent
185 - _librseq_publishers_review: &librseq_publishers_review
186 name: 'librseq_publishers_review'
188 - tap: *librseq_publisher_tap_defaults
189 - raw: *librseq_publisher_warnings-ng_defaults
190 - archive: *librseq_publisher_archive_defaults
191 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
196 name: librseq_{version}_{buildtype}
199 <<: *librseq_matrix_axes_defaults
200 <<: *librseq_builders_defaults
201 <<: *librseq_publishers_defaults
204 name: librseq_{version}_{cctype}
207 <<: *librseq_matrix_axes_cc
208 <<: *librseq_builders_defaults
209 <<: *librseq_publishers_defaults
212 name: dev_review_librseq_{version}_{buildtype}
218 url: https://review.lttng.org/librseq
219 refspec: 'refs/changes/*:refs/changes/*'
228 - comment-added-event:
229 approval-category: 'CI-Build'
232 - project-compare-type: 'PLAIN'
233 project-pattern: 'librseq'
235 - branch-compare-type: 'PLAIN'
236 branch-pattern: '{version}'
238 <<: *librseq_matrix_axes_defaults
239 <<: *librseq_builders_defaults
240 <<: *librseq_publishers_review
244 properties-content: |
251 - 'gerrit-{buildtype}'
254 name: librseq_{version}_scan-build
264 !include-raw-escape: scripts/common/scan-build.sh
269 dir: 'scan-build-archive/'
271 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
274 name: librseq_{version}_coverity
283 - ansicolor: *librseq_wrapper_ansicolor_defaults
284 - timeout: *librseq_wrapper_timeout_defaults
287 - credentials-binding:
288 - username-password-separated:
289 credential-id: librseq_coverity_token
290 username: COVERITY_SCAN_PROJECT_NAME
291 password: COVERITY_SCAN_TOKEN
295 !include-raw-escape: scripts/common/coverity.sh
300 artifacts: 'analysis-results.tgz,cov-int/**'
302 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
306 description: 'Restartable sequences'
316 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
320 - 'librseq_{version}_{buildtype}':
321 buildtype: linuxbuild
322 platforms: !!python/tuple [jammy-amd64]
323 builds: !!python/tuple [std, oot, dist, oot-dist]
324 confs: !!python/tuple [std, static]
325 touchstone: '(build == "std") && (conf == "std")'
326 - 'librseq_{version}_{cctype}':
328 platforms: !!python/tuple [jammy-amd64]
329 builds: !!python/tuple [std]
330 confs: !!python/tuple [std, static]
331 ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
332 touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
333 - 'librseq_{version}_{cctype}':
335 platforms: !!python/tuple [jammy-amd64]
336 builds: !!python/tuple [std]
337 confs: !!python/tuple [std, static]
338 ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
339 touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
340 - 'librseq_{version}_{buildtype}':
342 platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
343 builds: !!python/tuple [std]
344 confs: !!python/tuple [std, static]
345 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
354 - 'dev_review_librseq_{version}_{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")'