You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/12 10:57:23 UTC
svn commit: r1811938 - /sling/trunk/tooling/jenkins/create_jobs.groovy
Author: rombert
Date: Thu Oct 12 10:57:22 2017
New Revision: 1811938
URL: http://svn.apache.org/viewvc?rev=1811938&view=rev
Log:
SLING-7191 - Configure build jobs to also build periodically
All jobs are set to rebuild weekly, except for those that expect
to be rebuild daily.
Modified:
sling/trunk/tooling/jenkins/create_jobs.groovy
Modified: sling/trunk/tooling/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/jenkins/create_jobs.groovy?rev=1811938&r1=1811937&r2=1811938&view=diff
==============================================================================
--- sling/trunk/tooling/jenkins/create_jobs.groovy (original)
+++ sling/trunk/tooling/jenkins/create_jobs.groovy Thu Oct 12 10:57:22 2017
@@ -876,9 +876,8 @@ for more details</p>''')
triggers {
snapshotDependencies(true)
scm('H/15 * * * *')
- if ( module.rebuildDaily ) {
- cron('@daily')
- }
+ def rebuildFrequency = module.rebuildDaily ? '@daily' : '@weekly'
+ cron(rebuildFrequency)
}
// timeout if the job takes 4 times longer than the average