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
317 <<: *babeltrace_build_axes_defaults
318 <<: *babeltrace_build_builders_defaults
319 <<: *babeltrace_build_publishers_gerrit
323 properties-content: |
324 PROJECT_NAME=babeltrace
328 url: https://github.com/{github_user}/{github_name}
331 name: babeltrace_{version}_cppcheck
340 rm -f cppcheck-result.xml
341 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
345 artifacts: 'cppcheck-result.xml'
348 pattern: 'cppcheck-result.xml'
351 name: babeltrace_{version}_scan-build
361 !include-raw-escape: scripts/common/scan-build.sh
366 dir: 'scan-build-archive/'
370 name: babeltrace_{version}_coverity
383 - credentials-binding:
384 - username-password-separated:
385 credential-id: babeltrace_coverity_token
386 username: COVERITY_SCAN_PROJECT_NAME
387 password: COVERITY_SCAN_TOKEN
390 !include-raw-escape: scripts/common/coverity.sh
395 artifacts: 'analysis-results.tgz,cov-int/**'
399 name: babeltrace_{version}_pylint
411 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
412 which-build: last-successful
415 target: 'deps/babeltrace'
417 !include-raw-escape: scripts/babeltrace/pylint.sh
421 artifacts: 'pep8.out,pylint.out'
434 recipients: '{obj:email_to}'
435 reply-to: ci-notification@lists.lttng.org
444 second-failure: false
449 fixed-unhealthy: true
450 still-unstable: false
452 matrix-trigger: only-parent
456 # Use - in version number since yaml anchor do not support dot
457 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
458 name: 'babeltrace_version_glib_anchor'
464 properties-content: |
465 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
466 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
471 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
472 tar xvf glib-2.22.5.tar.gz
475 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
480 !include-raw-escape: scripts/babeltrace/build.sh
483 name: babeltrace_{version}_glib-2.22.5
487 <<: *babeltrace_version_glib-2-22-5_anchor
490 recipients: '{obj:email_to}'
491 reply-to: ci-notification@lists.lttng.org
500 second-failure: false
505 fixed-unhealthy: true
506 still-unstable: false
508 matrix-trigger: only-parent
513 name: dev_{user}_babeltrace_{version}_glib-2.22.5
514 <<: *babeltrace_version_glib-2-22-5_anchor
518 recipients: '{obj:email_to}'
519 reply-to: ci-notification@lists.lttng.org
528 second-failure: false
533 fixed-unhealthy: true
534 still-unstable: false
536 matrix-trigger: only-parent
543 github_user: efficios
544 github_name: babeltrace
545 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
551 - 'babeltrace_{version}_{buildtype}':
553 arch: !!python/tuple [amd64]
554 build: !!python/tuple [std, oot, dist]
555 conf: !!python/tuple [std, static, python-bindings]
556 - 'babeltrace_{version}_{buildtype}':
558 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
559 build: !!python/tuple [std]
560 conf: !!python/tuple [std, static, python-bindings]
561 - 'babeltrace_{version}_{buildtype}':
563 arch: !!python/tuple [sles12sp2]
564 build: !!python/tuple [std]
565 conf: !!python/tuple [std]
566 version: # // support 1.3 on SLES12
571 - 'babeltrace_{version}_{buildtype}':
572 buildtype: solarisbuild
573 arch: !!python/tuple [sol10-i386, sol11-i386]
574 build: !!python/tuple [std]
575 conf: !!python/tuple [std, static]
576 - 'babeltrace_{version}_{buildtype}':
577 buildtype: macosxbuild
578 arch: !!python/tuple [macosx]
579 build: !!python/tuple [std]
580 conf: !!python/tuple [std]
581 version: # macOS support was introduced in 1.4
585 - 'babeltrace_{version}_{cctype}':
587 arch: !!python/tuple [amd64]
588 build: !!python/tuple [std]
589 conf: !!python/tuple [std, static]
590 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
591 - 'babeltrace_{version}_winbuild':
592 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
593 build: !!python/tuple [std]
594 conf: !!python/tuple [std]
595 version: # Mingw support was introduced in 2.0
598 - 'babeltrace_{version}_winbuild':
599 arch: !!python/tuple [cygwin, cygwin64]
600 build: !!python/tuple [std]
601 conf: !!python/tuple [std]
602 version: # Cygwin support was introduced in 1.5
604 - 'babeltrace_{version}_cppcheck'
605 - 'babeltrace_{version}_scan-build'
606 - 'babeltrace_{version}_pylint'
607 - 'babeltrace_{version}_coverity':
609 - 'babeltrace_{version}_glib-2.22.5':
614 name: babeltrace-jgalar-staging
617 github_name: babeltrace
618 email_to: "jgalar@efficios.com"
625 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
628 - 'dev_{user}_babeltrace_{version}_{buildtype}':
630 arch: !!python/tuple [amd64]
631 build: !!python/tuple [std, oot, dist]
632 conf: !!python/tuple [std, static, python-bindings]
633 - 'dev_{user}_babeltrace_{version}_{buildtype}':
634 buildtype: macosxbuild
635 version: # macOS support was introduced in 1.4
639 arch: !!python/tuple [macosx]
640 build: !!python/tuple [std]
641 conf: !!python/tuple [std]
645 name: gerrit-babeltrace
646 github_user: efficios
647 github_name: babeltrace
649 - 'dev_gerrit_babeltrace_{buildtype}':
651 #arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
652 arch: !!python/tuple [amd64, i386]
653 build: !!python/tuple [std]
654 conf: !!python/tuple [std, python-bindings]