-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>7</daysToKeep>
<numToKeep>10</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
Is there any way, we can create discard old builds parameters as a environment variable. So that those variables can be applied to all jobs instead of maintaining at the job level.