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