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