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>
123 <sourceCodeEncoding/>
126 <ignoreQualityGate>false</ignoreQualityGate>
127 <ignoreFailedBuilds>true</ignoreFailedBuilds>
128 <failOnError>false</failOnError>
130 <unhealthy>0</unhealthy>
131 <minimumSeverity plugin="analysis-model-api">
135 <isEnabledForFailure>true</isEnabledForFailure>
136 <isAggregatingResults>true</isAggregatingResults>
137 <isBlameDisabled>false</isBlameDisabled>
138 <skipPublishingChecks>true</skipPublishingChecks>
139 <publishAllIssues>false</publishAllIssues>
141 <io.jenkins.plugins.analysis.core.util.QualityGate>
142 <threshold>1</threshold>
144 <status>WARNING</status>
145 </io.jenkins.plugins.analysis.core.util.QualityGate>
147 <trendChartType>AGGREGATION_TOOLS</trendChartType>
149 </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
150 - archive: &librseq_publisher_archive_defaults
151 artifacts: 'build/**,tap/**'
153 - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
156 - email-ext: &librseq_publisher_email-ext_defaults
157 recipients: '{obj:email_to}'
158 reply-to: ci-notification@lists.lttng.org
167 second-failure: false
172 fixed-unhealthy: true
173 still-unstable: false
175 matrix-trigger: only-parent
179 - librseq_publishers_gerrit: &librseq_publishers_gerrit
180 name: 'librseq_publishers_gerrit'
182 - tap: *librseq_publisher_tap_defaults
183 - raw: *librseq_publisher_warnings-ng_defaults
184 - archive: *librseq_publisher_archive_defaults
185 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
190 name: librseq_{version}_{buildtype}
193 <<: *librseq_matrix_axes_defaults
194 <<: *librseq_builders_defaults
195 <<: *librseq_publishers_defaults
198 name: librseq_{version}_{cctype}
201 <<: *librseq_matrix_axes_cc
202 <<: *librseq_builders_defaults
203 <<: *librseq_publishers_defaults
206 name: dev_gerrit_librseq_{buildtype}
212 url: https://review.lttng.org/librseq
213 refspec: 'refs/changes/*:refs/changes/*'
222 - comment-added-event:
223 approval-category: 'CI-Build'
226 - project-compare-type: 'PLAIN'
227 project-pattern: 'librseq'
229 - branch-compare-type: 'ANT'
232 <<: *librseq_matrix_axes_defaults
233 <<: *librseq_builders_defaults
234 <<: *librseq_publishers_gerrit
238 properties-content: |
245 - 'gerrit-{buildtype}'
248 name: librseq_{version}_scan-build
258 !include-raw-escape: scripts/common/scan-build.sh
263 dir: 'scan-build-archive/'
265 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
268 name: librseq_{version}_coverity
277 - ansicolor: *librseq_wrapper_ansicolor_defaults
278 - timeout: *librseq_wrapper_timeout_defaults
281 - credentials-binding:
282 - username-password-separated:
283 credential-id: librseq_coverity_token
284 username: COVERITY_SCAN_PROJECT_NAME
285 password: COVERITY_SCAN_TOKEN
289 !include-raw-escape: scripts/common/coverity.sh
294 artifacts: 'analysis-results.tgz,cov-int/**'
296 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
300 description: 'Restartable sequences'
310 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
314 - 'librseq_{version}_{buildtype}':
315 buildtype: linuxbuild
316 platforms: !!python/tuple [jammy-amd64]
317 builds: !!python/tuple [std, oot, dist, oot-dist]
318 confs: !!python/tuple [std, static]
319 touchstone: '(build == "std") && (conf == "std")'
320 - 'librseq_{version}_{cctype}':
322 platforms: !!python/tuple [jammy-amd64]
323 builds: !!python/tuple [std]
324 confs: !!python/tuple [std, static]
325 ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
326 touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
327 - 'librseq_{version}_{cctype}':
329 platforms: !!python/tuple [jammy-amd64]
330 builds: !!python/tuple [std]
331 confs: !!python/tuple [std, static]
332 ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
333 touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
334 - 'librseq_{version}_{buildtype}':
336 platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
337 builds: !!python/tuple [std]
338 confs: !!python/tuple [std, static]
339 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
346 - 'dev_gerrit_librseq_{buildtype}':
347 buildtype: linuxbuild
348 platforms: !!python/tuple [jammy-amd64]
349 builds: !!python/tuple [std, oot, dist, oot-dist]
350 confs: !!python/tuple [std, static]
351 touchstone: '(build == "std") && (conf == "std")'