4 The Babeltrace project provides trace read and write libraries, as well
5 as a trace converter. Plugins can be created for any trace format to
6 allow its conversion to/from another trace format.
8 The main format expected to be converted to/from is the Common Trace
9 Format (CTF). The default input format of the "babeltrace" command is
10 CTF, and its default output format is a human-readable text log. The
11 "babeltrace-log" command converts from a text log to a CTF trace.
13 <p>Job is managed by Jenkins Job Builder.</p>
15 project-type: freestyle
30 url: git://github.com/{github_user}/{github_name}.git
32 browser-url: https://github.com/{github_user}/{github_name}
35 basedir: src/babeltrace
46 PROJECT_NAME=babeltrace
50 url: https://github.com/{github_user}/{github_name}
54 - babeltrace_build_axes_defaults: &babeltrace_build_axes_defaults
55 name: 'babeltrace_build_axes_defaults'
57 node: 'master' # Applies only to matrix flyweight task
72 - babeltrace_build_axes_cc: &babeltrace_build_axes_cc
73 name: 'babeltrace_build_axes_cc'
75 node: 'master' # Applies only to matrix flyweight task
94 - babeltrace_build_builders_defaults: &babeltrace_build_builders_defaults
95 name: 'babeltrace_build_builders_defaults'
98 !include-raw-escape: scripts/babeltrace/build.sh
100 - babeltrace_build_builders_win: &babeltrace_build_builders_win
101 name: 'babeltrace_build_builders_win'
104 condition-kind: strings-match
105 on-evaluation-failure: run
106 condition-string1: '${{arch}}'
107 condition-string2: 'cygwin'
111 - scripts/common/cygwin-shebang
112 - scripts/common/cygwin-prefix
113 - scripts/babeltrace/build.sh
115 condition-kind: strings-match
116 on-evaluation-failure: run
117 condition-string1: '${{arch}}'
118 condition-string2: 'cygwin64'
122 - scripts/common/cygwin64-shebang
123 - scripts/common/cygwin-prefix
124 - scripts/babeltrace/build.sh
126 condition-kind: strings-match
127 on-evaluation-failure: run
128 condition-string1: '${{arch}}'
129 condition-string2: 'msys2-mingw32'
132 properties-content: 'MSYSTEM=MINGW32'
135 - scripts/common/msys2-shebang
136 - scripts/common/cygwin-prefix
137 - scripts/babeltrace/build.sh
139 condition-kind: strings-match
140 on-evaluation-failure: run
141 condition-string1: '${{arch}}'
142 condition-string2: 'msys2-mingw64'
145 properties-content: 'MSYSTEM=MINGW64'
148 - scripts/common/msys2-shebang
149 - scripts/common/cygwin-prefix
150 - scripts/babeltrace/build.sh
153 - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
154 name: 'babeltrace_build_publishers_dev'
157 results: 'tap/**/*.log'
158 failed-tests-mark-build-as-failure: true
159 todo-is-failure: false
162 - 'GNU Make + GNU C Compiler (gcc)'
170 recipients: '{obj:email_to}'
179 second-failure: false
184 fixed-unhealthy: true
185 still-unstable: false
187 matrix-trigger: only-parent
192 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
193 name: 'babeltrace_build_publishers_prod'
196 results: 'tap/**/*.log'
197 failed-tests-mark-build-as-failure: true
198 todo-is-failure: false
201 - 'GNU Make + GNU C Compiler (gcc)'
209 artifacts: 'build/**'
212 recipients: '{obj:email_to}'
213 reply-to: ci-notification@lists.lttng.org
222 second-failure: false
227 fixed-unhealthy: true
228 still-unstable: false
230 matrix-trigger: only-parent
237 name: babeltrace_{version}_{buildtype}
240 <<: *babeltrace_build_axes_defaults
241 <<: *babeltrace_build_builders_defaults
242 <<: *babeltrace_build_publishers_prod
245 name: babeltrace_{version}_{cctype}
248 <<: *babeltrace_build_axes_cc
249 <<: *babeltrace_build_builders_defaults
250 <<: *babeltrace_build_publishers_prod
253 name: babeltrace_{version}_winbuild
256 <<: *babeltrace_build_axes_defaults
257 <<: *babeltrace_build_builders_win
258 <<: *babeltrace_build_publishers_prod
261 name: dev_{user}_babeltrace_{version}_{buildtype}
264 <<: *babeltrace_build_axes_defaults
265 <<: *babeltrace_build_builders_defaults
266 <<: *babeltrace_build_publishers_dev
269 name: babeltrace_{version}_cppcheck
278 rm -f cppcheck-result.xml
279 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
283 artifacts: 'cppcheck-result.xml'
286 pattern: 'cppcheck-result.xml'
289 name: babeltrace_{version}_scan-build
299 !include-raw-escape: scripts/common/scan-build.sh
304 dir: 'scan-build-archive/'
308 name: babeltrace_{version}_coverity
321 - credentials-binding:
322 - username-password-separated:
323 credential-id: babeltrace_coverity_token
324 username: COVERITY_SCAN_PROJECT_NAME
325 password: COVERITY_SCAN_TOKEN
328 !include-raw-escape: scripts/common/coverity.sh
333 artifacts: 'analysis-results.tgz,cov-int/**'
337 name: babeltrace_{version}_pylint
349 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
350 which-build: last-successful
353 target: 'deps/babeltrace'
355 !include-raw-escape: scripts/babeltrace/pylint.sh
359 artifacts: 'pep8.out,pylint.out'
372 recipients: '{obj:email_to}'
373 reply-to: ci-notification@lists.lttng.org
382 second-failure: false
387 fixed-unhealthy: true
388 still-unstable: false
390 matrix-trigger: only-parent
394 # Use - in version number since yaml anchor do not support dot
395 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
396 name: 'babeltrace_version_glib_anchor'
402 properties-content: |
403 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
404 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
409 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
410 tar xvf glib-2.22.5.tar.gz
413 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
418 !include-raw-escape: scripts/babeltrace/build.sh
421 name: babeltrace_{version}_glib-2.22.5
425 <<: *babeltrace_version_glib-2-22-5_anchor
428 recipients: '{obj:email_to}'
429 reply-to: ci-notification@lists.lttng.org
438 second-failure: false
443 fixed-unhealthy: true
444 still-unstable: false
446 matrix-trigger: only-parent
451 name: dev_{user}_babeltrace_{version}_glib-2.22.5
452 <<: *babeltrace_version_glib-2-22-5_anchor
456 recipients: '{obj:email_to}'
457 reply-to: ci-notification@lists.lttng.org
466 second-failure: false
471 fixed-unhealthy: true
472 still-unstable: false
474 matrix-trigger: only-parent
481 github_user: efficios
482 github_name: babeltrace
483 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
489 - 'babeltrace_{version}_{buildtype}':
491 arch: !!python/tuple [amd64]
492 build: !!python/tuple [std, oot, dist]
493 conf: !!python/tuple [std, static, python-bindings]
494 - 'babeltrace_{version}_{buildtype}':
496 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
497 build: !!python/tuple [std]
498 conf: !!python/tuple [std, static, python-bindings]
499 - 'babeltrace_{version}_{buildtype}':
501 arch: !!python/tuple [sles12sp2]
502 build: !!python/tuple [std]
503 conf: !!python/tuple [std]
504 version: # // support 1.3 on SLES12
509 - 'babeltrace_{version}_{buildtype}':
510 buildtype: solarisbuild
511 arch: !!python/tuple [sol10-i386, sol11-i386]
512 build: !!python/tuple [std]
513 conf: !!python/tuple [std, static]
514 - 'babeltrace_{version}_{buildtype}':
515 buildtype: macosxbuild
516 arch: !!python/tuple [macosx]
517 build: !!python/tuple [std]
518 conf: !!python/tuple [std]
519 version: # macOS support was introduced in 1.4
523 - 'babeltrace_{version}_{cctype}':
525 arch: !!python/tuple [amd64]
526 build: !!python/tuple [std]
527 conf: !!python/tuple [std, static]
528 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
529 - 'babeltrace_{version}_winbuild':
530 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
531 build: !!python/tuple [std]
532 conf: !!python/tuple [std]
533 version: # Mingw support was introduced in 2.0
536 - 'babeltrace_{version}_winbuild':
537 arch: !!python/tuple [cygwin, cygwin64]
538 build: !!python/tuple [std]
539 conf: !!python/tuple [std]
540 version: # Cygwin support was introduced in 1.5
542 - 'babeltrace_{version}_cppcheck'
543 - 'babeltrace_{version}_scan-build'
544 - 'babeltrace_{version}_pylint'
545 - 'babeltrace_{version}_coverity':
547 - 'babeltrace_{version}_glib-2.22.5':
552 name: babeltrace-jgalar-staging
555 github_name: babeltrace
556 email_to: "jgalar@efficios.com"
563 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
566 - 'dev_{user}_babeltrace_{version}_{buildtype}':
568 arch: !!python/tuple [amd64]
569 build: !!python/tuple [std, oot, dist]
570 conf: !!python/tuple [std, static, python-bindings]
571 - 'dev_{user}_babeltrace_{version}_{buildtype}':
572 buildtype: macosxbuild
573 version: # macOS support was introduced in 1.4
577 arch: !!python/tuple [macosx]
578 build: !!python/tuple [std]
579 conf: !!python/tuple [std]