"Discard Old Builds" parameters as a environmental variable

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      <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.

            Assignee:
            nkns165
            Reporter:
            venkatachalam mani
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: