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 2016/09/27 10:58:33 UTC

svn commit: r1762445 - /sling/trunk/tooling/jenkins/create_jobs.groovy

Author: rombert
Date: Tue Sep 27 10:58:33 2016
New Revision: 1762445

URL: http://svn.apache.org/viewvc?rev=1762445&view=rev
Log:
SLING-6061 - Create per-module Jenkins jobs

- Limit build history
- Enable email notifications

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=1762445&r1=1762444&r2=1762445&view=diff
==============================================================================
--- sling/trunk/tooling/jenkins/create_jobs.groovy (original)
+++ sling/trunk/tooling/jenkins/create_jobs.groovy Tue Sep 27 10:58:33 2016
@@ -24,6 +24,11 @@ modules.each {
     jdks.each {
         def jdkKey = it
         job(jobName + "-" + jdkKey) {
+
+            logRotator {
+                numToKeep(15)
+            }
+
             scm {
                 svn(svnDir)
             }
@@ -46,6 +51,8 @@ modules.each {
 
             publishers {
                 archiveJunit('**/target/surefire-reports/*.xml')
+                // send emails for each broken build, notify individuals as well
+                mailer('commits@sling.apache.org', false, true)
             }
         }
     }