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

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


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

commit 5de840cdfd0396341e390470c3e03c370196ce64
Author: Andor Molnar <[email protected]>
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 <[email protected]>
    
    Reviewers: Enrico Olivelli <[email protected]>
    
    Closes #1413 from anmolnar/ZOOKEEPER-3896_2
---
 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 {
         }
     }
 }
-

Reply via email to