Update automated project templates
[releng/builder.git] / jjb / alto / alto.yaml
index 328ccd8afc1e4abccbb0a467ddf48ce46d637779..5a465df10a824b46c52986a69878a8d5e2f96f26 100644 (file)
@@ -8,7 +8,7 @@
     jobs:
         - 'alto-verify-{stream}'
         - 'alto-merge-{stream}'
-        - 'alto-daily-{stream}'
+        - 'alto-periodic-{stream}'
         - 'alto-distribution-{stream}'
         - 'alto-integration-{stream}'
         - 'alto-sonar'
@@ -38,7 +38,7 @@
             jdk: openjdk7
             jdks:
                 - openjdk7
-            disable_autorelease: True
+            disable_autorelease: False
 
     project: 'alto'
 
                 - '{ssh-credentials}'
 
     triggers:
+        - timed: 'H H * * 0'
         - gerrit-trigger-patch-merged:
             name: 'alto'
             branch: '{branch}'
         - findbugs
 
     publishers:
+        - archive-artifacts:
+            artifacts: '**/target/surefire-reports/*-output.txt, '
         - email-notification:
             email-prefix: '[alto]'
         - maven-deploy:
         - jacoco-report
 
 - job-template:
-    name: 'alto-daily-{stream}'
+    name: 'alto-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: alto