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 <[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 {
}
}
}
-