+- job-template:
+ name: babeltrace_{version}_release
+ defaults: babeltrace
+ node: 'amd64'
+
+ triggers:
+ - pollscm:
+ cron: "@daily"
+
+ scm:
+ - git:
+ url: git://github.com/{github_user}/{github_name}.git
+ browser: githubweb
+ browser-url: https://github.com/{github_user}/{github_name}
+ refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
+ branches:
+ - '*/tags/{version}.*'
+ basedir: src/babeltrace
+
+ builders:
+ - shell:
+ !include-raw-escape: scripts/babeltrace/release.sh
+
+ publishers:
+ - tap:
+ results: 'tap/**/*.log'
+ fail-if-no-results: true
+ failed-tests-mark-build-as-failure: true
+ todo-is-failure: false
+ - warnings:
+ console-log-parsers:
+ - 'GNU Make + GNU C Compiler (gcc)'
+ total-thresholds:
+ unstable:
+ total-all: 0
+ total-high: 0
+ total-normal: 0
+ total-low: 0
+ - workspace-cleanup:
+ clean-if:
+ - failure: false
+ - archive:
+ artifacts: 'out/**,tap/**'
+ allow-empty: false
+