project-type: freestyle
- logrotate:
- numToKeep: 2
-
wrappers:
- workspace-cleanup
- timestamps
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}
# 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:
branches:
- origin/{version}
basedir: lttng-ust-java-tests
+ skip-tag: true
triggers:
- pollscm:
cron: "@daily"
properties:
+ - build-discarder:
+ num-to-keep: 2
- github:
url: https://github.com/lttng/lttng-ust-java-tests
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:
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:
publishers:
- workspace-cleanup
+ - archive:
+ artifacts: 'analysis-results.tgz,cov-int/**'
+ allow-empty: false
# TODO
- job-template:
github_user: lttng
github_name: lttng-ust
version:
- !include: jobs/inc/lttng-ust-versions.yaml.inc
+ - stable-2.7
+ - stable-2.8
+ - master
jobs:
- 'lttng-ust_{version}_{buildtype}':
buildtype: build