jenkins-job-builder/tests/properties/fixtures/build-discarder-002.xml
David Caro 1cf271a96e Adding the build-discarder property
This deprecates the logrotate generic element of the jobs, as it's not
supported anymore on jenkins>1.637, see:

    1cbbb23923

Change-Id: Ib086aef43e4833855b5827ad0ed3310e8db7d7b9
Signed-off-by: David Caro <dcaroest@redhat.com>
2016-03-02 12:17:45 +01:00

14 lines
417 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep>
<numToKeep>-1</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
</project>