This is an automated email from the ASF dual-hosted git repository.

tillt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new e5f4879  Attempting to get Jenkins pipeline build expiry fixed.
e5f4879 is described below

commit e5f48794f0354f8179f4302b308fb89a9f7caf7c
Author: Till Toenshoff <[email protected]>
AuthorDate: Wed Jun 26 02:24:40 2019 +0200

    Attempting to get Jenkins pipeline build expiry fixed.
    
    Review: https://reviews.apache.org/r/70948/
---
 support/jenkins/Jenkinsfile-packaging-centos | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/support/jenkins/Jenkinsfile-packaging-centos 
b/support/jenkins/Jenkinsfile-packaging-centos
index aa8f37f..48f2346 100644
--- a/support/jenkins/Jenkinsfile-packaging-centos
+++ b/support/jenkins/Jenkinsfile-packaging-centos
@@ -1,6 +1,8 @@
 #!groovy
 
-properties [[$class: 'BuildDiscarderProperty', strategy: [$class: 
'LogRotator', daysToKeepStr: '30']], [$class: 'ScannerJobProperty', doNotScan: 
false]]
+properties([
+    buildDiscarder(logRotator(daysToKeepStr: '30'))
+])
 
 if (env.NODE_LABELS == null) {
   env.NODE_LABELS = "(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)"

Reply via email to