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
234 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
235 name: 'babeltrace_build_publishers_gerrit'
238 results: 'tap/**/*.log'
239 failed-tests-mark-build-as-failure: true
240 todo-is-failure: false
243 - 'GNU Make + GNU C Compiler (gcc)'
251 artifacts: 'build/**'
258 name: babeltrace_{version}_{buildtype}
261 <<: *babeltrace_build_axes_defaults
262 <<: *babeltrace_build_builders_defaults
263 <<: *babeltrace_build_publishers_prod
266 name: babeltrace_{version}_{cctype}
269 <<: *babeltrace_build_axes_cc
270 <<: *babeltrace_build_builders_defaults
271 <<: *babeltrace_build_publishers_prod
274 name: babeltrace_{version}_winbuild
277 <<: *babeltrace_build_axes_defaults
278 <<: *babeltrace_build_builders_win
279 <<: *babeltrace_build_publishers_prod
282 name: dev_{user}_babeltrace_{version}_{buildtype}
285 <<: *babeltrace_build_axes_defaults
286 <<: *babeltrace_build_builders_defaults
287 <<: *babeltrace_build_publishers_dev
290 name: dev_gerrit_babeltrace_{buildtype}
296 url: https://review.lttng.org/babeltrace
297 refspec: 'refs/changes/*:refs/changes/*'
300 basedir: src/babeltrace
306 - comment-added-event:
307 approval-category: 'CI-Build'
310 - project-compare-type: 'PLAIN'
311 project-pattern: 'babeltrace'
313 - branch-compare-type: 'ANT'
315 trigger-for-unreviewed-patches: true
318 node: 'master' # Applies only to matrix flyweight task
320 combination-filter: |
321 ((build=="std" && conf=="python-bindings" && bt2_mode=="std") || (arch=="amd64")) && (! (arch="amd64" && (build=="oot" || build=="dist") && bt2_mode=="dev"))
334 values: '{obj:build}'
338 values: '{obj:bt2_mode}'
340 <<: *babeltrace_build_builders_defaults
341 <<: *babeltrace_build_publishers_gerrit
345 properties-content: |
346 PROJECT_NAME=babeltrace
350 url: https://github.com/{github_user}/{github_name}
353 name: babeltrace_{version}_cppcheck
362 rm -f cppcheck-result.xml
363 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
367 artifacts: 'cppcheck-result.xml'
370 pattern: 'cppcheck-result.xml'
373 name: babeltrace_{version}_scan-build
383 !include-raw-escape: scripts/common/scan-build.sh
388 dir: 'scan-build-archive/'
392 name: babeltrace_{version}_coverity
405 - credentials-binding:
406 - username-password-separated:
407 credential-id: babeltrace_coverity_token
408 username: COVERITY_SCAN_PROJECT_NAME
409 password: COVERITY_SCAN_TOKEN
412 !include-raw-escape: scripts/common/coverity.sh
417 artifacts: 'analysis-results.tgz,cov-int/**'
421 name: babeltrace_{version}_pylint
433 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
434 which-build: last-successful
437 target: 'deps/babeltrace'
439 !include-raw-escape: scripts/babeltrace/pylint.sh
443 artifacts: 'pep8.out,pylint.out'
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
478 # Use - in version number since yaml anchor do not support dot
479 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
480 name: 'babeltrace_version_glib_anchor'
486 properties-content: |
487 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
488 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
493 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
494 tar xvf glib-2.22.5.tar.gz
497 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
502 !include-raw-escape: scripts/babeltrace/build.sh
505 name: babeltrace_{version}_glib-2.22.5
509 <<: *babeltrace_version_glib-2-22-5_anchor
512 recipients: '{obj:email_to}'
513 reply-to: ci-notification@lists.lttng.org
522 second-failure: false
527 fixed-unhealthy: true
528 still-unstable: false
530 matrix-trigger: only-parent
535 name: dev_{user}_babeltrace_{version}_glib-2.22.5
536 <<: *babeltrace_version_glib-2-22-5_anchor
540 recipients: '{obj:email_to}'
541 reply-to: ci-notification@lists.lttng.org
550 second-failure: false
555 fixed-unhealthy: true
556 still-unstable: false
558 matrix-trigger: only-parent
565 github_user: efficios
566 github_name: babeltrace
567 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
573 - 'babeltrace_{version}_{buildtype}':
575 arch: !!python/tuple [amd64]
576 build: !!python/tuple [std, oot, dist]
577 conf: !!python/tuple [std, static, python-bindings]
578 - 'babeltrace_{version}_{buildtype}':
580 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
581 build: !!python/tuple [std]
582 conf: !!python/tuple [std, static, python-bindings]
583 - 'babeltrace_{version}_{buildtype}':
585 arch: !!python/tuple [sles12sp2]
586 build: !!python/tuple [std]
587 conf: !!python/tuple [std]
588 version: # // support 1.3 on SLES12
593 - 'babeltrace_{version}_{buildtype}':
594 buildtype: solarisbuild
595 arch: !!python/tuple [sol10-i386, sol11-i386]
596 build: !!python/tuple [std]
597 conf: !!python/tuple [std, static]
598 - 'babeltrace_{version}_{buildtype}':
599 buildtype: macosxbuild
600 arch: !!python/tuple [macosx]
601 build: !!python/tuple [std]
602 conf: !!python/tuple [std]
603 version: # macOS support was introduced in 1.4
607 - 'babeltrace_{version}_{cctype}':
609 arch: !!python/tuple [amd64]
610 build: !!python/tuple [std]
611 conf: !!python/tuple [std, static]
612 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
613 - 'babeltrace_{version}_winbuild':
614 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
615 build: !!python/tuple [std]
616 conf: !!python/tuple [std]
617 version: # Mingw support was introduced in 2.0
620 - 'babeltrace_{version}_winbuild':
621 arch: !!python/tuple [cygwin, cygwin64]
622 build: !!python/tuple [std]
623 conf: !!python/tuple [std]
624 version: # Cygwin support was introduced in 1.5
626 - 'babeltrace_{version}_cppcheck'
627 - 'babeltrace_{version}_scan-build'
628 - 'babeltrace_{version}_pylint'
629 - 'babeltrace_{version}_coverity':
631 - 'babeltrace_{version}_glib-2.22.5':
636 name: babeltrace-jgalar-staging
639 github_name: babeltrace
640 email_to: "jgalar@efficios.com"
647 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
650 - 'dev_{user}_babeltrace_{version}_{buildtype}':
652 arch: !!python/tuple [amd64]
653 build: !!python/tuple [std, oot, dist]
654 conf: !!python/tuple [std, static, python-bindings]
655 - 'dev_{user}_babeltrace_{version}_{buildtype}':
656 buildtype: macosxbuild
657 version: # macOS support was introduced in 1.4
661 arch: !!python/tuple [macosx]
662 build: !!python/tuple [std]
663 conf: !!python/tuple [std]
667 name: gerrit-babeltrace
668 github_user: efficios
669 github_name: babeltrace
671 - 'dev_gerrit_babeltrace_{buildtype}':
673 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
674 build: !!python/tuple [std, oot, dist]
675 conf: !!python/tuple [std, python-bindings]
676 bt2_mode: !!python/tuple [dev, std]