jenkins: stricter logRotator settings to reduce disk usage
@@ -28,7 +28,14 @@ import java.text.SimpleDateFormat
// Buildjob properties
properties([
- buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '60'))
+ buildDiscarder(
+ logRotator(
+ artifactDaysToKeepStr: '31', // Keep artifacts for max 31 days
+ artifactNumToKeepStr: '5', // Keep artifacts for last 5 builds
+ daysToKeepStr: '90', // Keep build info for 90 days
+ numToKeepStr: '60' // Keep a max of 60 builds
+ )
+ )
])
// If previous run is still running, cancel it
