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

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


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

commit 59cb1d18ac4720f6629b74f91991d9608bc0aa22
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
    
    (cherry picked from commit 5de840cdfd0396341e390470c3e03c370196ce64)
    Signed-off-by: Enrico Olivelli <[email protected]>
---
 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