summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-05-17 10:14:02 +0200
committerHolger Levsen <holger@layer-acht.org>2017-05-18 02:06:40 +0200
commit08ef10d3029f7f34f83c9e627447935805002ecf (patch)
treecf386434316193c0c0a20cca65b919909b683162
parent6bee9a1428ad764c946eff946e983bfd128adb64 (diff)
downloadjenkins.debian.net-08ef10d3029f7f34f83c9e627447935805002ecf.tar.xz
reproducible: DRY the logrotate property
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r--job-cfg/reproducible.yaml32
1 files changed, 6 insertions, 26 deletions
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index 5be0ab98..6850263a 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -19,7 +19,7 @@
description: &desc '{my_description}<br>Job configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/reproducible.yaml">reproducible.yaml</a>.<br>Results are available at <a href="https://tests.reproducible-builds.org/">https://tests.reproducible-builds.org</a>.'
triggers:
- timed: '{my_timed}'
- logrotate:
+ logrotate: &logrotate
daysToKeep: 90
numToKeep: 150
artifactDaysToKeep: -1
@@ -46,11 +46,7 @@
- timed: '{my_timed}'
- pollscm:
cron: '{my_scmpoll}'
- logrotate:
- daysToKeep: 90
- numToKeep: 150
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ logrotate: *logrotate
builders:
- shell: '{my_shell}'
publishers:
@@ -111,11 +107,7 @@
properties: *sidebar
triggers:
- timed: '{my_timed}'
- logrotate:
- daysToKeep: 90
- numToKeep: 150
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ logrotate: *logrotate
builders:
- shell: '{my_shell}'
publishers:
@@ -138,11 +130,7 @@
- timed: '{my_timed}'
- pollscm:
cron: '*/6 * * * *'
- logrotate:
- daysToKeep: 90
- numToKeep: 150
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ logrotate: *logrotate
builders:
- shell: '{my_shell}'
publishers:
@@ -173,11 +161,7 @@
properties: *sidebar
triggers:
- timed: '{my_timed}'
- logrotate:
- daysToKeep: 90
- numToKeep: 150
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ logrotate: *logrotate
builders:
- shell: '{my_shell}'
publishers:
@@ -200,11 +184,7 @@
properties: *sidebar
triggers:
- timed: '{my_timed}'
- logrotate:
- daysToKeep: 90
- numToKeep: 150
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ logrotate: *logrotate
builders:
- shell: '{my_shell}'
publishers: