From commits-return-8452-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Fri Jul 24 11:28:16 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 0A58018037A for ; Fri, 24 Jul 2020 13:28:16 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id E28AB126C00 for ; Fri, 24 Jul 2020 11:28:14 +0000 (UTC) Received: (qmail 30620 invoked by uid 500); 24 Jul 2020 11:28:14 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 30608 invoked by uid 99); 24 Jul 2020 11:28:14 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2020 11:28:14 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 1AD9B82072; Fri, 24 Jul 2020 11:28:14 +0000 (UTC) Date: Fri, 24 Jul 2020 11:28:14 +0000 To: "commits@zookeeper.apache.org" Subject: [zookeeper] branch branch-3.6 updated: ZOOKEEPER-3896: PollSCM hourly only to let previous builds to finish MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <159559009394.13360.10197375035586614309@gitbox.apache.org> From: eolivelli@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: zookeeper X-Git-Refname: refs/heads/branch-3.6 X-Git-Reftype: branch X-Git-Oldrev: b7961920db593c2f69035188a2dbf60701fb372c X-Git-Newrev: 59cb1d18ac4720f6629b74f91991d9608bc0aa22 X-Git-Rev: 59cb1d18ac4720f6629b74f91991d9608bc0aa22 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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 Reviewers: Enrico Olivelli Closes #1413 from anmolnar/ZOOKEEPER-3896_2 (cherry picked from commit 5de840cdfd0396341e390470c3e03c370196ce64) Signed-off-by: Enrico Olivelli --- 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 { } } } -