1 # {project}_{version}_{jobtype}
2 # librseq_stable-0.8_build
16 <p>Job is managed by Jenkins Job Builder.</p>
18 project-type: freestyle
33 url: https://github.com/{github_user}/{github_name}.git
35 browser-url: https://github.com/{github_user}/{github_name}
52 url: https://github.com/{github_user}/{github_name}
56 - librseq_build_axes_defaults: &librseq_build_axes_defaults
57 name: 'librseq_build_axes_defaults'
59 node: 'master' # Applies only to matrix flyweight task
68 values: '{obj:platforms}'
76 values: '{obj:builds}'
78 - librseq_build_axes_cc: &librseq_build_axes_cc
79 name: 'librseq_build_axes_cc'
81 node: 'master' # Applies only to matrix flyweight task
90 values: '{obj:platforms}'
98 values: '{obj:builds}'
104 - librseq_build_builders_defaults: &librseq_build_builders_defaults
105 name: 'librseq_build_builders_defaults'
109 - scripts/common/print.sh
110 - scripts/librseq/build.sh
112 - librseq_build_publishers_defaults: &librseq_build_publishers_defaults
113 name: 'librseq_build_publishers_defaults'
116 results: 'tap/**/*.log'
117 fail-if-no-results: true
118 failed-tests-mark-build-as-failure: true
119 todo-is-failure: false
122 - 'GNU Make + GNU C Compiler (gcc)'
130 artifacts: 'build/**,tap/**'
133 recipients: '{obj:email_to}'
134 reply-to: ci-notification@lists.lttng.org
143 second-failure: false
148 fixed-unhealthy: true
149 still-unstable: false
151 matrix-trigger: only-parent
155 - librseq_build_publishers_gerrit: &librseq_build_publishers_gerrit
156 name: 'librseq_build_publishers_gerrit'
159 results: 'tap/**/*.log'
160 fail-if-no-results: true
161 failed-tests-mark-build-as-failure: true
162 todo-is-failure: false
165 - 'GNU Make + GNU C Compiler (gcc)'
173 artifacts: 'build/**,tap/**'
179 name: librseq_{version}_{buildtype}
182 <<: *librseq_build_axes_defaults
183 <<: *librseq_build_builders_defaults
184 <<: *librseq_build_publishers_defaults
187 name: librseq_{version}_{cctype}
190 <<: *librseq_build_axes_cc
191 <<: *librseq_build_builders_defaults
192 <<: *librseq_build_publishers_defaults
195 name: librseq_{version}_cppcheck
204 rm -f cppcheck-result.xml
205 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/librseq 2> cppcheck-result.xml
209 artifacts: 'cppcheck-result.xml'
212 pattern: 'cppcheck-result.xml'
214 recipients: '{obj:email_to}'
215 reply-to: ci-notification@lists.lttng.org
219 first-unstable: false
224 second-failure: false
229 fixed-unhealthy: true
232 matrix-trigger: only-parent
237 name: dev_gerrit_librseq_{buildtype}
243 url: https://review.lttng.org/librseq
244 refspec: 'refs/changes/*:refs/changes/*'
253 - comment-added-event:
254 approval-category: 'CI-Build'
257 - project-compare-type: 'PLAIN'
258 project-pattern: 'librseq'
260 - branch-compare-type: 'ANT'
263 <<: *librseq_build_axes_defaults
264 <<: *librseq_build_builders_defaults
265 <<: *librseq_build_publishers_gerrit
269 properties-content: |
276 - 'gerrit-{buildtype}'
279 name: librseq_{version}_scan-build
289 !include-raw-escape: scripts/common/scan-build.sh
294 dir: 'scan-build-archive/'
298 name: librseq_{version}_coverity
316 - credentials-binding:
317 - username-password-separated:
318 credential-id: librseq_coverity_token
319 username: COVERITY_SCAN_PROJECT_NAME
320 password: COVERITY_SCAN_TOKEN
324 !include-raw-escape: scripts/common/coverity.sh
329 artifacts: 'analysis-results.tgz,cov-int/**'
334 description: 'Restartable sequences'
344 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
348 - 'librseq_{version}_{buildtype}':
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")'
354 - 'librseq_{version}_{cctype}':
356 platforms: !!python/tuple [jammy-amd64]
357 builds: !!python/tuple [std]
358 confs: !!python/tuple [std, static]
359 ccs: !!python/tuple [gcc-9, gcc-10, gcc-11, gcc-12]
360 touchstone: '(build == "std") && (conf == "std") && (cc == "gcc-11")'
361 - 'librseq_{version}_{cctype}':
363 platforms: !!python/tuple [jammy-amd64]
364 builds: !!python/tuple [std]
365 confs: !!python/tuple [std, static]
366 ccs: !!python/tuple [clang-11, clang-12, clang-13, clang-14]
367 touchstone: '(build == "std") && (conf == "std") && (cc == "clang-14")'
368 - 'librseq_{version}_{buildtype}':
370 platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
371 builds: !!python/tuple [std]
372 confs: !!python/tuple [std, static]
373 touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
380 - 'dev_gerrit_librseq_{buildtype}':
382 platforms: !!python/tuple [jammy-amd64]
383 builds: !!python/tuple [std, oot, dist, oot-dist]
384 confs: !!python/tuple [std, static]
385 touchstone: '(build == "std") && (conf == "std")'