[Jenkins] Only keep last 30 artifacts

This commit is contained in:
momo5502 2016-11-27 17:05:53 +01:00
parent f57ca2d872
commit 325f9183a2

3
Jenkinsfile vendored
View File

@ -185,7 +185,8 @@ def iw4xExecutableBranch() {
// Job properties
properties([
[$class: "GitLabConnectionProperty", gitLabConnection: "sr0"]
[$class: "GitLabConnectionProperty", gitLabConnection: "sr0"],
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '30'))
])
gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"]) {