-- job-template:
- name: lttng-tools_{version}_cppcheck
- defaults: lttng-tools
-
- triggers:
- - pollscm:
- cron: "@daily"
-
- builders:
- - shell: |
- rm -f cppcheck-result.xml
- cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck-result.xml
-
- publishers:
- - archive:
- artifacts: 'cppcheck-result.xml'
- allow-empty: false
- - cppcheck:
- pattern: 'cppcheck-result.xml'
- - email-ext: *lttng-tools_publisher_email-ext_defaults
-