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
74 - librseq_build_axes_cc: &librseq_build_axes_cc
75 name: 'librseq_build_axes_cc'
77 node: 'master' # Applies only to matrix flyweight task
96 - librseq_build_builders_defaults: &librseq_build_builders_defaults
97 name: 'librseq_build_builders_defaults'
101 - scripts/common/print.sh
102 - scripts/librseq/build.sh
104 - librseq_build_publishers_defaults: &librseq_build_publishers_defaults
105 name: 'librseq_build_publishers_defaults'
108 results: 'tap/**/*.log'
109 fail-if-no-results: true
110 failed-tests-mark-build-as-failure: true
111 todo-is-failure: false
114 - 'GNU Make + GNU C Compiler (gcc)'
122 artifacts: 'build/**,tap/**'
125 strategy: new-failure-and-fixed
126 matrix-notifier: only-parent
130 recipients: '{obj:email_to}'
131 reply-to: ci-notification@lists.lttng.org
140 second-failure: false
145 fixed-unhealthy: true
146 still-unstable: false
148 matrix-trigger: only-parent
152 - librseq_build_publishers_gerrit: &librseq_build_publishers_gerrit
153 name: 'librseq_build_publishers_gerrit'
156 results: 'tap/**/*.log'
157 fail-if-no-results: true
158 failed-tests-mark-build-as-failure: true
159 todo-is-failure: false
162 - 'GNU Make + GNU C Compiler (gcc)'
170 artifacts: 'build/**,tap/**'
176 name: librseq_{version}_{buildtype}
179 <<: *librseq_build_axes_defaults
180 <<: *librseq_build_builders_defaults
181 <<: *librseq_build_publishers_defaults
184 name: librseq_{version}_{cctype}
187 <<: *librseq_build_axes_cc
188 <<: *librseq_build_builders_defaults
189 <<: *librseq_build_publishers_defaults
192 name: librseq_{version}_cppcheck
201 rm -f cppcheck-result.xml
202 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/librseq 2> cppcheck-result.xml
206 artifacts: 'cppcheck-result.xml'
209 pattern: 'cppcheck-result.xml'
211 recipients: '{obj:email_to}'
212 reply-to: ci-notification@lists.lttng.org
216 first-unstable: false
221 second-failure: false
226 fixed-unhealthy: true
229 matrix-trigger: only-parent
234 name: dev_gerrit_librseq_{buildtype}
240 url: https://review.lttng.org/librseq
241 refspec: 'refs/changes/*:refs/changes/*'
250 - comment-added-event:
251 approval-category: 'CI-Build'
254 - project-compare-type: 'PLAIN'
255 project-pattern: 'librseq'
257 - branch-compare-type: 'ANT'
260 <<: *librseq_build_axes_defaults
261 <<: *librseq_build_builders_defaults
262 <<: *librseq_build_publishers_gerrit
266 properties-content: |
273 - 'gerrit-{buildtype}'
276 name: librseq_{version}_scan-build
286 !include-raw-escape: scripts/common/scan-build.sh
291 dir: 'scan-build-archive/'
295 name: librseq_{version}_coverity
313 - credentials-binding:
314 - username-password-separated:
315 credential-id: librseq_coverity_token
316 username: COVERITY_SCAN_PROJECT_NAME
317 password: COVERITY_SCAN_TOKEN
321 !include-raw-escape: scripts/common/coverity.sh
326 artifacts: 'analysis-results.tgz,cov-int/**'
331 description: 'Restartable sequences'
341 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
345 - 'librseq_{version}_{buildtype}':
347 arch: !!python/tuple [amd64]
348 build: !!python/tuple [std, oot, dist, oot-dist]
349 conf: !!python/tuple [std, static]
350 - 'librseq_{version}_{cctype}':
352 arch: !!python/tuple [amd64]
353 build: !!python/tuple [std]
354 conf: !!python/tuple [std, static]
355 cc: !!python/tuple [gcc-4.8, gcc-5, gcc-6, gcc-7, gcc-8]
356 - 'librseq_{version}_{cctype}':
358 arch: !!python/tuple [amd64]
359 build: !!python/tuple [std]
360 conf: !!python/tuple [std, static]
361 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
362 - 'librseq_{version}_{buildtype}':
364 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
365 build: !!python/tuple [std]
366 conf: !!python/tuple [std, static]
367 # - 'librseq_{version}_cppcheck'
368 # - 'librseq_{version}_scan-build'
369 # - 'librseq_{version}_coverity':
377 - 'dev_gerrit_librseq_{buildtype}':
379 arch: !!python/tuple [amd64]
380 build: !!python/tuple [std, oot, dist, oot-dist]
381 conf: !!python/tuple [std, static]