Skip to content

Commit 68d1484

Browse files
authored
add log rotation
1 parent 11a8724 commit 68d1484

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

JenkinsFile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
pipeline {
2+
options {
3+
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '5', numToKeepStr: '10')
4+
}
25
agent any
36
tools {
47
maven 'maven-tool'

0 commit comments

Comments
 (0)