Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3CD60200D4C for ; Wed, 15 Nov 2017 22:42:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3B322160BE4; Wed, 15 Nov 2017 21:42:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8ACB4160BF4 for ; Wed, 15 Nov 2017 22:42:48 +0100 (CET) Received: (qmail 88623 invoked by uid 500); 15 Nov 2017 21:42:47 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 88603 invoked by uid 99); 15 Nov 2017 21:42:47 -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; Wed, 15 Nov 2017 21:42:47 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 2B18C81C00; Wed, 15 Nov 2017 21:42:47 +0000 (UTC) Date: Wed, 15 Nov 2017 21:42:48 +0000 To: "commits@sling.apache.org" Subject: [sling-tooling-jenkins] 01/02: Reimplement rebuildFrequency MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: rombert@apache.org In-Reply-To: <151078216711.21381.3559624850691961065@gitbox.apache.org> References: <151078216711.21381.3559624850691961065@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: sling-tooling-jenkins X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 83829baf861b2bc3a0a79afa5e7d0677f2821be3 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20171115214247.2B18C81C00@gitbox.apache.org> archived-at: Wed, 15 Nov 2017 21:42:49 -0000 This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git commit 83829baf861b2bc3a0a79afa5e7d0677f2821be3 Author: Robert Munteanu AuthorDate: Wed Nov 15 23:37:52 2017 +0200 Reimplement rebuildFrequency --- create_jobs.groovy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/create_jobs.groovy b/create_jobs.groovy index 680942f..ed1e4ad 100644 --- a/create_jobs.groovy +++ b/create_jobs.groovy @@ -48,6 +48,11 @@ manifest.project.each { project -> println "${jobName}: overriding default maven goal with value ${module.mavenGoal}" } + if ( slingMod?.jenkins?.rebuildFrequency ) { + module.rebuildFrequency = slingMod.jenkins.rebuildFrequency.text() + println "${jobName}: overriding default rebuild frequency with value ${module.rebuildFrequency}" + } + if ( createJob ) { modules += module } @@ -109,7 +114,7 @@ for more details

''') triggers { snapshotDependencies(true) scm('H/15 * * * *') - def rebuildFrequency = module.rebuildDaily ? '@daily' : '@weekly' + def rebuildFrequency = module.rebuildFrequency ? module.rebuildFrequency : '@weekly' cron(rebuildFrequency) } -- To stop receiving notification emails like this one, please contact "commits@sling.apache.org" .