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/**'
154 follow-symlinks: true
156 - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
159 - ircbot: &librseq_publisher_ircbot_defaults
160 strategy: statechange-only
161 message-type: summary
162 matrix-notifier: only-parent
163 - email-ext: &librseq_publisher_email-ext_defaults
164 recipients: '{obj:email_to}'
165 reply-to: ci-notification@lists.lttng.org
174 second-failure: false
179 fixed-unhealthy: true
180 still-unstable: false
182 matrix-trigger: only-parent
186 - _librseq_publishers_review: &librseq_publishers_review
187 name: 'librseq_publishers_review'
189 - tap: *librseq_publisher_tap_defaults
190 - raw: *librseq_publisher_warnings-ng_defaults
191 - archive: *librseq_publisher_archive_defaults
192 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
197 name: librseq_{version}_{buildtype}
200 <<: *librseq_matrix_axes_defaults
201 <<: *librseq_builders_defaults
202 <<: *librseq_publishers_defaults
205 name: librseq_{version}_{cctype}
208 <<: *librseq_matrix_axes_cc
209 <<: *librseq_builders_defaults
210 <<: *librseq_publishers_defaults
213 name: dev_review_librseq_{version}_{buildtype}
219 url: https://review.lttng.org/librseq
220 refspec: 'refs/changes/*:refs/changes/*'
229 - comment-added-event:
230 approval-category: 'CI-Build'
233 - project-compare-type: 'PLAIN'
234 project-pattern: 'librseq'
236 - branch-compare-type: 'PLAIN'
237 branch-pattern: '{version}'
239 <<: *librseq_matrix_axes_defaults
240 <<: *librseq_builders_defaults
241 <<: *librseq_publishers_review
245 properties-content: |
252 - 'gerrit-{buildtype}'
255 name: librseq_{version}_scan-build
265 !include-raw-escape: scripts/common/scan-build.sh
270 dir: 'scan-build-archive/'
272 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
275 name: librseq_{version}_coverity
284 - ansicolor: *librseq_wrapper_ansicolor_defaults
285 - timeout: *librseq_wrapper_timeout_defaults
288 - credentials-binding:
289 - username-password-separated:
290 credential-id: librseq_coverity_token
291 username: COVERITY_SCAN_PROJECT_NAME
292 password: COVERITY_SCAN_TOKEN
296 !include-raw-escape: scripts/common/coverity.sh
301 artifacts: 'analysis-results.tgz,cov-int/**'
303 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
307 description: 'Restartable sequences'
317 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
321 - 'librseq_{version}_{buildtype}':
322 buildtype: linuxbuild
323 platforms: !!python/tuple [deb12-amd64]
324 builds: !!python/tuple [std, oot, dist, oot-dist]
325 confs: !!python/tuple [std, static]
326 touchstone: '(build == "std") && (conf == "std")'
327 - 'librseq_{version}_{cctype}':
329 platforms: !!python/tuple [deb12-amd64]
330 builds: !!python/tuple [std]
331 confs: !!python/tuple [std, static]
332 ccs: !!python/tuple [clang-13, clang-14, clang-15]
333 touchstone: '(build == "std") && (conf == "std") && (cc == "clang-15")'
334 - 'librseq_{version}_{buildtype}':
336 platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
337 builds: !!python/tuple [std]
338 confs: !!python/tuple [std, static]
339 touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")'
348 - 'dev_review_librseq_{version}_{buildtype}':
349 buildtype: linuxbuild
350 platforms: !!python/tuple [deb12-amd64]
351 builds: !!python/tuple [std, oot, dist, oot-dist]
352 confs: !!python/tuple [std, static]
353 touchstone: '(build == "std") && (conf == "std")'