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 todo-is-failure: false
110 - raw: &librseq_publisher_warnings-ng_defaults
112 <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng">
114 <io.jenkins.plugins.analysis.warnings.Gcc4>
117 <jenkins plugin="plugin-util-api"/>
120 <skipSymbolicLinks>false</skipSymbolicLinks>
121 </io.jenkins.plugins.analysis.warnings.Gcc4>
122 <io.jenkins.plugins.analysis.warnings.Clang>
125 <jenkins plugin="plugin-util-api"/>
128 <skipSymbolicLinks>false</skipSymbolicLinks>
129 </io.jenkins.plugins.analysis.warnings.Clang>
131 <sourceCodeEncoding/>
134 <ignoreQualityGate>false</ignoreQualityGate>
135 <ignoreFailedBuilds>true</ignoreFailedBuilds>
136 <failOnError>false</failOnError>
138 <unhealthy>0</unhealthy>
139 <minimumSeverity plugin="analysis-model-api">
143 <isEnabledForFailure>true</isEnabledForFailure>
144 <isAggregatingResults>true</isAggregatingResults>
145 <isBlameDisabled>false</isBlameDisabled>
146 <skipPublishingChecks>true</skipPublishingChecks>
147 <publishAllIssues>false</publishAllIssues>
149 <io.jenkins.plugins.analysis.core.util.QualityGate>
150 <threshold>1</threshold>
152 <status>WARNING</status>
153 </io.jenkins.plugins.analysis.core.util.QualityGate>
155 <trendChartType>AGGREGATION_TOOLS</trendChartType>
157 </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
158 - archive: &librseq_publisher_archive_defaults
159 artifacts: 'build/**,tap/**'
161 - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
164 - email-ext: &librseq_publisher_email-ext_defaults
165 recipients: '{obj:email_to}'
166 reply-to: ci-notification@lists.lttng.org
175 second-failure: false
180 fixed-unhealthy: true
181 still-unstable: false
183 matrix-trigger: only-parent
187 - librseq_publishers_gerrit: &librseq_publishers_gerrit
188 name: 'librseq_publishers_gerrit'
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
198 name: librseq_{version}_{buildtype}
201 <<: *librseq_matrix_axes_defaults
202 <<: *librseq_builders_defaults
203 <<: *librseq_publishers_defaults
206 name: librseq_{version}_{cctype}
209 <<: *librseq_matrix_axes_cc
210 <<: *librseq_builders_defaults
211 <<: *librseq_publishers_defaults
214 name: dev_gerrit_librseq_{buildtype}
220 url: https://review.lttng.org/librseq
221 refspec: 'refs/changes/*:refs/changes/*'
230 - comment-added-event:
231 approval-category: 'CI-Build'
234 - project-compare-type: 'PLAIN'
235 project-pattern: 'librseq'
237 - branch-compare-type: 'ANT'
240 <<: *librseq_matrix_axes_defaults
241 <<: *librseq_builders_defaults
242 <<: *librseq_publishers_gerrit
246 properties-content: |
253 - 'gerrit-{buildtype}'
256 name: librseq_{version}_scan-build
266 !include-raw-escape: scripts/common/scan-build.sh
271 dir: 'scan-build-archive/'
273 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
276 name: librseq_{version}_coverity
285 - ansicolor: *librseq_wrapper_ansicolor_defaults
286 - timeout: *librseq_wrapper_timeout_defaults
289 - credentials-binding:
290 - username-password-separated:
291 credential-id: librseq_coverity_token
292 username: COVERITY_SCAN_PROJECT_NAME
293 password: COVERITY_SCAN_TOKEN
297 !include-raw-escape: scripts/common/coverity.sh
302 artifacts: 'analysis-results.tgz,cov-int/**'
304 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
308 description: 'Restartable sequences'
318 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
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}':
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}':
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}':
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")'
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")'