Merge lp:~fginther/ubuntu-test-cases/touch-expire-builds into lp:ubuntu-test-cases/touch

Proposed by Francis Ginther
Status: Work in progress
Proposed branch: lp:~fginther/ubuntu-test-cases/touch-expire-builds
Merge into: lp:ubuntu-test-cases/touch
Diff against target: 50 lines (+18/-0)
3 files modified
jenkins/templates/touch-base.xml.jinja2 (+6/-0)
jenkins/templates/touch-master.xml.jinja2 (+6/-0)
jenkins/templates/touch-smoke.xml.jinja2 (+6/-0)
To merge this branch: bzr merge lp:~fginther/ubuntu-test-cases/touch-expire-builds
Reviewer Review Type Date Requested Status
Paul Larson Approve
Review via email: mp+239490@code.launchpad.net

Commit message

Add logRotator to the jenkins templates to expire the builds after 30 days.

Description of the change

Add logRotator to the jenkins templates to expire the builds after 30 days.

To post a comment you must log in.
Revision history for this message
Paul Larson (pwlars) wrote :

This looks ok to me, I think I'd like to do a quick experiment with it unless you've done so already, and test that it actually causes old jobs to be removed on jenkins.qa.u.c also, otherwise it doesn't do a whole lot for us.

review: Approve

Unmerged revisions

324. By Francis Ginther

Add logRotator to the jenkins templates to expire the builds after 30 days.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jenkins/templates/touch-base.xml.jinja2'
2--- jenkins/templates/touch-base.xml.jinja2 2014-08-01 17:21:01 +0000
3+++ jenkins/templates/touch-base.xml.jinja2 2014-10-23 21:14:24 +0000
4@@ -7,6 +7,12 @@
5 {{branch}}
6 </pre>
7 </description>
8+ <logRotator>
9+ <daysToKeep>30</daysToKeep>
10+ <numToKeep>-1</numToKeep>
11+ <artifactDaysToKeep>-1</artifactDaysToKeep>
12+ <artifactNumToKeep>-1</artifactNumToKeep>
13+ </logRotator>
14 <keepDependencies>false</keepDependencies>
15 <properties>
16 <hudson.model.ParametersDefinitionProperty>
17
18=== modified file 'jenkins/templates/touch-master.xml.jinja2'
19--- jenkins/templates/touch-master.xml.jinja2 2014-08-05 15:49:03 +0000
20+++ jenkins/templates/touch-master.xml.jinja2 2014-10-23 21:14:24 +0000
21@@ -7,6 +7,12 @@
22 {{branch}}&#xd;
23 &lt;/pre&gt;
24 </description>
25+ <logRotator>
26+ <daysToKeep>30</daysToKeep>
27+ <numToKeep>-1</numToKeep>
28+ <artifactDaysToKeep>-1</artifactDaysToKeep>
29+ <artifactNumToKeep>-1</artifactNumToKeep>
30+ </logRotator>
31 <keepDependencies>false</keepDependencies>
32 <properties>
33 <hudson.model.ParametersDefinitionProperty>
34
35=== modified file 'jenkins/templates/touch-smoke.xml.jinja2'
36--- jenkins/templates/touch-smoke.xml.jinja2 2014-08-05 15:49:03 +0000
37+++ jenkins/templates/touch-smoke.xml.jinja2 2014-10-23 21:14:24 +0000
38@@ -32,6 +32,12 @@
39 {% endif %}
40 ]]>
41 </description>
42+ <logRotator>
43+ <daysToKeep>30</daysToKeep>
44+ <numToKeep>-1</numToKeep>
45+ <artifactDaysToKeep>-1</artifactDaysToKeep>
46+ <artifactNumToKeep>-1</artifactNumToKeep>
47+ </logRotator>
48 <keepDependencies>false</keepDependencies>
49 <properties>
50 <hudson.model.ParametersDefinitionProperty>

Subscribers

People subscribed via source and target branches