Ubuntu Pastebin

Paste from neo at Fri, 30 Jun 2017 14:20:56 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/jenkins-jobs/templates/build.xml.erb b/jenkins-jobs/templates/build.xml.erb
index f67adbe..226e93f 100644
--- a/jenkins-jobs/templates/build.xml.erb
+++ b/jenkins-jobs/templates/build.xml.erb
@@ -2,6 +2,16 @@
   <actions/>
   <description></description>
   <keepDependencies>false</keepDependencies>
+  <properties>
+    <jenkins.model.BuildDiscarderProperty>
+      <strategy class="hudson.tasks.LogRotator">
+        <daysToKeep>60</daysToKeep>
+        <numToKeep>-1</numToKeep>
+        <artifactDaysToKeep>-1</artifactDaysToKeep>
+        <artifactNumToKeep>-1</artifactNumToKeep>
+      </strategy>
+    </jenkins.model.BuildDiscarderProperty>
+  </properties>
   <assignedNode>builder</assignedNode>
   <scm class="org.jenkinsci.plugins.multiplescms.MultiSCM" plugin="multiple-scms@0.3">
     <scms>
Download as text