Update automated project templates
[releng/builder.git] / jjb / next / next.yaml
index cc1e1d6390982424ae83a0fc987cb56457ef521d..6d263626789e98196dbec6b53d70b3bc750b9aac 100644 (file)
@@ -8,7 +8,7 @@
     jobs:
         - 'next-verify-{stream}'
         - 'next-merge-{stream}'
-        - 'next-daily-{stream}'
+        - 'next-periodic-{stream}'
         - 'next-distribution-{stream}'
         - 'next-integration-{stream}'
         - 'next-sonar'
         - findbugs
 
     publishers:
+        - archive-artifacts:
+            artifacts: '**/target/surefire-reports/*-output.txt, '
         - email-notification:
             email-prefix: '[next]'
         - maven-deploy:
         - jacoco-report
 
 - job-template:
-    name: 'next-daily-{stream}'
+    name: 'next-periodic-{stream}'
 
-    # Job template for daily builders
+    # Job template for periodic builders
     #
-    # The purpose of this job template is to setup a daily/nightly
-    # builder and pushes to Sonar analysis.
+    # The purpose of this job template is to setup a periodic
+    # builder.
     #
     # Required Variables:
     #     stream:    release stream (eg. stable-lithium or beryllium)
                 - '{ssh-credentials}'
 
     triggers:
-        - timed: 'H H * * 7'
+        - timed: '@daily'
 
     prebuilders:
         - wipe-org-opendaylight-repo
         global-settings: '{odl-global-settings}'
 
     postbuilders:
+        - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
         - check-clm:
             application-name: next