summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-17 13:12:16 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-17 13:12:16 +0200
commit794a2d1608776c8f0b59ab0c4430a2b029bf6e64 (patch)
treec7f6f13d32e8c3e9d4fed0559a7b78ccf2e53915
parent3b9d72bacd12c99ee35f2709632f6fc3bcba2d9c (diff)
downloadjenkins.debian.net-794a2d1608776c8f0b59ab0c4430a2b029bf6e64.tar.xz
reproducible: define template for triggered jobs
-rw-r--r--job-cfg/reproducible.yaml35
1 files changed, 34 insertions, 1 deletions
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
@@ -31,6 +31,39 @@
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}<br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/job-cfg/reproducible.yaml">reproducible.yaml</a>.<br>Results are available at <a href="https://reproducible.debian.net/">https://reproducible.debian.net</a>.'
+ 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}'
- trigger:
project: '{my_trigger}'
node: '{my_node}'
@@ -611,7 +644,7 @@
name: '{name}_builder_arch_1'
- job-template:
- defaults: reproducible
+ defaults: reproducible_triggered
name: '{name}_html_archlinux'
- project: