filter: 'build/**'
target: 'deps/lttng-ust'
do-not-fingerprint: true
+ - shell:
+ !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh
- shell:
!include-raw-escape: scripts/lttng-tools/build.sh
- lttng-tools_build_publishers_dev: <tng-tools_build_publishers_dev
name: 'lttng-tools_build_publishers_dev'
publishers:
+ - postbuildscript:
+ mark-unstable-if-failed: true
+ builders:
+ - role: SLAVE
+ build-on:
+ - SUCCESS
+ - UNSTABLE
+ - NOT_BUILT
+ - ABORTED
+ - FAILURE
+ build-steps:
+ - shell:
+ !include-raw-escape: scripts/lttng-tools/hang_processes.sh
- tap:
results: 'tap/**/*.tap'
failed-tests-mark-build-as-failure: true
- lttng-tools_build_publishers_prod: <tng-tools_build_publishers_prod
name: 'lttng-tools_build_publishers_prod'
publishers:
+ - postbuildscript:
+ mark-unstable-if-failed: true
+ builders:
+ - role: SLAVE
+ build-on:
+ - SUCCESS
+ - UNSTABLE
+ - NOT_BUILT
+ - ABORTED
+ - FAILURE
+ build-steps:
+ - shell:
+ !include-raw-escape: scripts/lttng-tools/hang_processes.sh
- tap:
results: 'tap/**/*.tap'
failed-tests-mark-build-as-failure: true
clean-if:
- failure: false
- archive:
- artifacts: 'build/**'
+ artifacts: 'build/**, deps/**'
allow-empty: false
- email-ext:
recipients: '{obj:email_to}'
builders:
- shell: |
- rm -f lttng-tools-cppcheck.xml
- cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
+ rm -f cppcheck-result.xml
+ cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck-result.xml
publishers:
- archive:
- artifacts: 'lttng-tools-cppcheck.xml'
+ artifacts: 'cppcheck-result.xml'
allow-empty: false
- cppcheck:
- pattern: 'lttng-tools-cppcheck.xml'
+ pattern: 'cppcheck-result.xml'
- email-ext:
recipients: 'ci-notification@lists.lttng.org'
reply-to: ci-notification@lists.lttng.org