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