X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=ccd0becb4d4e9739f3d530c18cb534e1996f34cb;hb=11d1fd9c2c82031e2262c4ff07e5e2ea4f8e5115;hp=a7471396b486716c6c624a7be0be8c846e0ae2ba;hpb=5349d98694f1ddb10ae4b8709a1995fbd1afe2f8;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index a747139..ccd0bec 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -209,6 +209,8 @@ 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 @@ -281,6 +283,19 @@ - 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 @@ -322,6 +337,19 @@ - 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 @@ -339,7 +367,7 @@ clean-if: - failure: false - archive: - artifacts: 'build/**' + artifacts: 'build/**, deps/**' allow-empty: false - email-ext: recipients: '{obj:email_to}' @@ -430,15 +458,15 @@ 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