zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eolive...@apache.org
Subject [zookeeper] branch branch-3.5 updated: ZOOKEEPER-3896: PollSCM hourly only to let previous builds to finish
Date Fri, 24 Jul 2020 11:28:19 GMT
This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 5c43665  ZOOKEEPER-3896: PollSCM hourly only to let previous builds to finish
5c43665 is described below

commit 5c4366574144f66c0fd3a47cc316f947bf92a253
Author: Andor Molnar <andor@apache.org>
AuthorDate: Fri Jul 24 13:27:39 2020 +0200

    ZOOKEEPER-3896: PollSCM hourly only to let previous builds to finish
    
    Looks like that PollSCM trigger will trigger another build on the same ref if other builds
haven't completed rather than haven't started.
    
    I change the polling interval to hourly to let other builds finish in time.
    
    Author: Andor Molnar <andor@apache.org>
    
    Reviewers: Enrico Olivelli <eolivelli@apache.org>
    
    Closes #1413 from anmolnar/ZOOKEEPER-3896_2
    
    (cherry picked from commit 5de840cdfd0396341e390470c3e03c370196ce64)
    Signed-off-by: Enrico Olivelli <eolivelli@apache.org>
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 4fdc0e1..9c3e4f6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,10 +21,11 @@ pipeline {
 
     options {
         buildDiscarder(logRotator(daysToKeepStr: '14'))
+        timeout(time: 59, unit: 'MINUTES')
     }
 
     triggers {
-        pollSCM 'H/10 * * * *'
+        pollSCM('@hourly')
         cron('@daily')
     }
 
@@ -68,4 +69,3 @@ pipeline {
         }
     }
 }
-


Mime
View raw message