Last active
February 2, 2017 17:41
-
-
Save visitbethel/e7da90778f83e3e25ddc18f52cf17ff2 to your computer and use it in GitHub Desktop.
Jenkins Pipeline Log Rotator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
properties([ | |
[ | |
$class : 'jenkins.model.BuildDiscarderProperty', | |
strategy: [ | |
$class : 'LogRotator', | |
numToKeepStr: '200' | |
] | |
] | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment