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
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
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
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
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
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