From 794a2d1608776c8f0b59ab0c4430a2b029bf6e64 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Oct 2015 13:12:16 +0200 Subject: reproducible: define template for triggered jobs --- job-cfg/reproducible.yaml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'job-cfg') diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index b4649fec..48b30de0 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -17,6 +17,39 @@ text: Sponsored by Profitbricks icon: /userContent/images/profitbricks-24x24.png description: '{my_description}
Job configuration source is reproducible.yaml.
Results are available at https://reproducible.debian.net.' + logrotate: + daysToKeep: 90 + numToKeep: 30 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + builders: + - shell: '{my_shell}' + publishers: + - logparser: + parse-rules: '/srv/jenkins/logparse/reproducible.rules' + unstable-on-warning: 'true' + fail-on-error: 'true' + - email: + recipients: '{my_recipients}' + node: '{my_node}' + +- defaults: + name: reproducible_triggered + project-type: freestyle + properties: + - sidebar: + url: https://jenkins.debian.net/userContent/about.html + text: About jenkins.debian.net + icon: /userContent/images/debian-swirl-24x24.png + - sidebar: + url: https://jenkins.debian.net/view/reproducible + text: reproducible builds jobs + icon: /userContent/images/debian-jenkins-24x24.png + - sidebar: + url: http://www.profitbricks.co.uk + text: Sponsored by Profitbricks + icon: /userContent/images/profitbricks-24x24.png + description: '{my_description}
Job configuration source is reproducible.yaml.
Results are available at https://reproducible.debian.net.' logrotate: daysToKeep: 90 numToKeep: 30 @@ -611,7 +644,7 @@ name: '{name}_builder_arch_1' - job-template: - defaults: reproducible + defaults: reproducible_triggered name: '{name}_html_archlinux' - project: -- cgit v1.2.3-54-g00ecf