From: Michael Jeanson Date: Tue, 6 Nov 2018 15:50:40 +0000 (-0500) Subject: Standardize cppcheck config X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5279b0f28620328ec87e4fbe6765d2696635597b;p=lttng-ci.git Standardize cppcheck config Signed-off-by: Michael Jeanson --- diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 6486914..7212bfe 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -245,15 +245,15 @@ builders: - shell: | - rm -f babeltrace-cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> babeltrace-cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml publishers: - archive: - artifacts: 'babeltrace-cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'babeltrace-cppcheck.xml' + pattern: 'cppcheck-result.xml' - job-template: name: babeltrace_{version}_scan-build diff --git a/jobs/latency-tracker.yaml b/jobs/latency-tracker.yaml index 998fd19..827d849 100644 --- a/jobs/latency-tracker.yaml +++ b/jobs/latency-tracker.yaml @@ -476,15 +476,15 @@ builders: - shell: | - rm -f cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/latency-tracker 2> cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/latency-tracker 2> cppcheck-result.xml publishers: - archive: - artifacts: 'cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'cppcheck.xml' + pattern: 'cppcheck-result.xml' - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index 46e17c3..1c66178 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -210,15 +210,15 @@ builders: - shell: | - rm -f liburcu-cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> liburcu-cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml publishers: - archive: - artifacts: 'liburcu-cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'liburcu-cppcheck.xml' + pattern: 'cppcheck-result.xml' - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index d61cf56..3dcfd1b 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -459,15 +459,15 @@ builders: - shell: | - rm -f cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml publishers: - archive: - artifacts: 'cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'cppcheck.xml' + pattern: 'cppcheck-result.xml' - job-template: name: lttng-modules_{mversion}_sloccount diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 77b53ef..ccd0bec 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -458,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 diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index 3526f3d..d805afc 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -150,15 +150,15 @@ builders: - shell: | - rm -f lttng-ust-cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> lttng-ust-cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml publishers: - archive: - artifacts: 'lttng-ust-cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'lttng-ust-cppcheck.xml' + pattern: 'cppcheck-result.xml' - email: recipients: 'ci-notification@lists.lttng.org' notify-every-unstable-build: true