diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 12b5dfda64..8742da2789 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -1,3 +1,10 @@ +properties([ + buildDiscarder(logRotator( + numToKeepStr: '3', + daysToKeepStr: '7', + )) +]) + env.LANG="en_US.UTF-8" env.LANGUAGE="en_US.UTF-8" env.LC_ALL="en_US.UTF-8" diff --git a/ci/Jenkinsfile.nightly_fastlane b/ci/Jenkinsfile.nightly_fastlane index da7e171adb..a0d9970e72 100644 --- a/ci/Jenkinsfile.nightly_fastlane +++ b/ci/Jenkinsfile.nightly_fastlane @@ -1,5 +1,11 @@ // We need nightly builds for users who want to test apps, diawi removes old builds and limits downloads, hence the need for Artifactory. // To see env: echo sh(returnStdout: true, script: 'env') +properties([ + buildDiscarder(logRotator( + numToKeepStr: '30', + daysToKeepStr: '30', + )) +]) env.LANG="en_US.UTF-8" env.LANGUAGE="en_US.UTF-8"