Update automated project templates
[releng/builder.git] / jjb / mdsal / mdsal.yaml
index 5b8360a3953d2bb78829d37cb69eddc768bd78f7..a84696e39db16370d5e709ea4e0f650de0d4cb0a 100644 (file)
@@ -8,7 +8,7 @@
     jobs:
         - 'mdsal-verify-{stream}'
         - 'mdsal-merge-{stream}'
-        - 'mdsal-daily-{stream}'
+        - 'mdsal-periodic-{stream}'
         - 'mdsal-distribution-{stream}'
         - 'mdsal-integration-{stream}'
         - 'mdsal-sonar'
         - findbugs
 
     publishers:
+        - archive-artifacts:
+            artifacts: '**/target/surefire-reports/*-output.txt, '
         - email-notification:
             email-prefix: '[mdsal]'
         - maven-deploy:
         - jacoco-report
 
 - job-template:
-    name: 'mdsal-daily-{stream}'
+    name: 'mdsal-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: mdsal