[Qa-jenkins-scm] [jenkins.debian.net] 02/07: reproducible: DRY the logrotate property

Holger Levsen holger at layer-acht.org
Thu May 18 00:06:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 08ef10d3029f7f34f83c9e627447935805002ecf
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed May 17 10:14:02 2017 +0200

    reproducible: DRY the logrotate property
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/reproducible.yaml | 32 ++++++--------------------------
 1 file changed, 6 insertions(+), 26 deletions(-)

diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index 5be0ab9..6850263 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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list