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/**'
155 - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults
158 - email-ext: &librseq_publisher_email-ext_defaults
159 recipients: '{obj:email_to}'
160 reply-to: ci-notification@lists.lttng.org
169 second-failure: false
174 fixed-unhealthy: true
175 still-unstable: false
177 matrix-trigger: only-parent
181 - librseq_publishers_gerrit: &librseq_publishers_gerrit
182 name: 'librseq_publishers_gerrit'
184 - tap: *librseq_publisher_tap_defaults
185 - raw: *librseq_publisher_warnings-ng_defaults
186 - archive: *librseq_publisher_archive_defaults
187 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
192 name: librseq_{version}_{buildtype}
195 <<: *librseq_matrix_axes_defaults
196 <<: *librseq_builders_defaults
197 <<: *librseq_publishers_defaults
200 name: librseq_{version}_{cctype}
203 <<: *librseq_matrix_axes_cc
204 <<: *librseq_builders_defaults
205 <<: *librseq_publishers_defaults
208 name: dev_gerrit_librseq_{buildtype}
214 url: https://review.lttng.org/librseq
215 refspec: 'refs/changes/*:refs/changes/*'
224 - comment-added-event:
225 approval-category: 'CI-Build'
228 - project-compare-type: 'PLAIN'
229 project-pattern: 'librseq'
231 - branch-compare-type: 'ANT'
234 <<: *librseq_matrix_axes_defaults
235 <<: *librseq_builders_defaults
236 <<: *librseq_publishers_gerrit
240 properties-content: |
247 - 'gerrit-{buildtype}'
250 name: librseq_{version}_scan-build
260 !include-raw-escape: scripts/common/scan-build.sh
265 dir: 'scan-build-archive/'
267 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
270 name: librseq_{version}_coverity
279 - ansicolor: *librseq_wrapper_ansicolor_defaults
280 - timeout: *librseq_wrapper_timeout_defaults
283 - credentials-binding:
284 - username-password-separated:
285 credential-id: librseq_coverity_token
286 username: COVERITY_SCAN_PROJECT_NAME
287 password: COVERITY_SCAN_TOKEN
291 !include-raw-escape: scripts/common/coverity.sh
296 artifacts: 'analysis-results.tgz,cov-int/**'
298 - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults
302 description: 'Restartable sequences'
312 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
316 - 'librseq_{version}_{buildtype}':
317 buildtype: linuxbuild
318 platforms: !!python/tuple [jammy-amd64]
319 builds: !!python/tuple [std, oot, dist, oot-dist]
320 confs: !!python/tuple [std, static]
321 touchstone: '(build == "std") && (conf == "std")'
322 - 'librseq_{version}_{cctype}':
324 platforms: !!python/tuple [jammy-amd64]
325 builds: !!python/tuple [std]
326 confs: !!python/tuple [std, static]
327 ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
328 touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
329 - 'librseq_{version}_{cctype}':
331 platforms: !!python/tuple [jammy-amd64]
332 builds: !!python/tuple [std]
333 confs: !!python/tuple [std, static]
334 ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
335 touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
336 - 'librseq_{version}_{buildtype}':
338 platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
339 builds: !!python/tuple [std]
340 confs: !!python/tuple [std, static]
341 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
348 - 'dev_gerrit_librseq_{buildtype}':
349 buildtype: linuxbuild
350 platforms: !!python/tuple [jammy-amd64]
351 builds: !!python/tuple [std, oot, dist, oot-dist]
352 confs: !!python/tuple [std, static]
353 touchstone: '(build == "std") && (conf == "std")'