Skip to content

Commit 6e1a20d

Browse files
authored
Update jenkinsfile to clean old jobs (#1384)
Jobs will be kept for 7 days with at most 3 jobs in memory.
1 parent 3b28f48 commit 6e1a20d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!groovy
2+
properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '7', numToKeepStr: '3')), [$class: 'ScannerJobProperty', doNotScan: false]])
23
node {
34
deleteDir() // Purge workspace
45
// Checkout the repo to get the necessary groovy scripts (and place it in the required subdirectory)

0 commit comments

Comments
 (0)