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 recipients: '{obj:email_to}'
126 reply-to: ci-notification@lists.lttng.org
135 second-failure: false
140 fixed-unhealthy: true
141 still-unstable: false
143 matrix-trigger: only-parent
147 - librseq_build_publishers_gerrit: &librseq_build_publishers_gerrit
148 name: 'librseq_build_publishers_gerrit'
151 results: 'tap/**/*.log'
152 fail-if-no-results: true
153 failed-tests-mark-build-as-failure: true
154 todo-is-failure: false
157 - 'GNU Make + GNU C Compiler (gcc)'
165 artifacts: 'build/**,tap/**'
171 name: librseq_{version}_{buildtype}
174 <<: *librseq_build_axes_defaults
175 <<: *librseq_build_builders_defaults
176 <<: *librseq_build_publishers_defaults
179 name: librseq_{version}_{cctype}
182 <<: *librseq_build_axes_cc
183 <<: *librseq_build_builders_defaults
184 <<: *librseq_build_publishers_defaults
187 name: librseq_{version}_cppcheck
196 rm -f cppcheck-result.xml
197 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/librseq 2> cppcheck-result.xml
201 artifacts: 'cppcheck-result.xml'
204 pattern: 'cppcheck-result.xml'
206 recipients: '{obj:email_to}'
207 reply-to: ci-notification@lists.lttng.org
211 first-unstable: false
216 second-failure: false
221 fixed-unhealthy: true
224 matrix-trigger: only-parent
229 name: dev_gerrit_librseq_{buildtype}
235 url: https://review.lttng.org/librseq
236 refspec: 'refs/changes/*:refs/changes/*'
245 - comment-added-event:
246 approval-category: 'CI-Build'
249 - project-compare-type: 'PLAIN'
250 project-pattern: 'librseq'
252 - branch-compare-type: 'ANT'
255 <<: *librseq_build_axes_defaults
256 <<: *librseq_build_builders_defaults
257 <<: *librseq_build_publishers_gerrit
261 properties-content: |
268 - 'gerrit-{buildtype}'
271 name: librseq_{version}_scan-build
281 !include-raw-escape: scripts/common/scan-build.sh
286 dir: 'scan-build-archive/'
290 name: librseq_{version}_coverity
308 - credentials-binding:
309 - username-password-separated:
310 credential-id: librseq_coverity_token
311 username: COVERITY_SCAN_PROJECT_NAME
312 password: COVERITY_SCAN_TOKEN
316 !include-raw-escape: scripts/common/coverity.sh
321 artifacts: 'analysis-results.tgz,cov-int/**'
326 description: 'Restartable sequences'
336 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
340 - 'librseq_{version}_{buildtype}':
342 arch: !!python/tuple [amd64]
343 build: !!python/tuple [std, oot, dist, oot-dist]
344 conf: !!python/tuple [std, static]
345 - 'librseq_{version}_{cctype}':
347 arch: !!python/tuple [amd64]
348 build: !!python/tuple [std]
349 conf: !!python/tuple [std, static]
350 cc: !!python/tuple [gcc-4.8, gcc-5, gcc-6, gcc-7, gcc-8]
351 - 'librseq_{version}_{cctype}':
353 arch: !!python/tuple [amd64]
354 build: !!python/tuple [std]
355 conf: !!python/tuple [std, static]
356 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
357 - 'librseq_{version}_{buildtype}':
359 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
360 build: !!python/tuple [std]
361 conf: !!python/tuple [std, static]
362 # - 'librseq_{version}_cppcheck'
363 # - 'librseq_{version}_scan-build'
364 # - 'librseq_{version}_coverity':
372 - 'dev_gerrit_librseq_{buildtype}':
374 arch: !!python/tuple [amd64]
375 build: !!python/tuple [std, oot, dist, oot-dist]
376 conf: !!python/tuple [std, static]