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