X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-ust.yaml;h=0e7d693fd8d6c5db5f2fe2e5b7276d7c8e5f57a7;hb=4b9bec35c5509eff42dc1f516ef956cc6e92127a;hp=a140cd67edf1e16a2a30775eec2f45e0d835b84e;hpb=d2c76ee58ef3d473a7d4f53163a1fd6e1b7653ab;p=lttng-ci.git diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index a140cd6..0e7d693 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -10,9 +10,6 @@ project-type: freestyle - logrotate: - numToKeep: 2 - wrappers: - workspace-cleanup - timestamps @@ -25,12 +22,19 @@ browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} + basedir: src/lttng-ust + skip-tag: true triggers: - pollscm: cron: "@hourly" properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-ust + - build-discarder: + num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} @@ -78,7 +82,7 @@ # TODO: Scan for open tasks publishers: - tap: - results: 'tap/**/*.tap' + results: 'tap/**/*.log' failed-tests-mark-build-as-failure: true todo-is-failure: false - warnings: @@ -112,7 +116,7 @@ builders: - shell: | rm -f lttng-ust-cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-ust-cppcheck.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> lttng-ust-cppcheck.xml publishers: - archive: @@ -143,7 +147,7 @@ target: 'deps/liburcu' do-not-fingerprint: true - shell: - !include-raw-escape: scripts/lttng-ust/scan-build.sh + !include-raw-escape: scripts/common/scan-build.sh publishers: - html-publisher: @@ -184,6 +188,9 @@ publishers: - workspace-cleanup + - archive: + artifacts: 'analysis-results.tgz,cov-int/**' + allow-empty: false # TODO - job-template: @@ -234,7 +241,10 @@ github_user: lttng github_name: lttng-ust version: - !include: jobs/inc/lttng-ust-versions.yaml.inc + - stable-2.7 + - stable-2.8 + - stable-2.9 + - master jobs: - 'lttng-ust_{version}_{buildtype}': buildtype: build