Update automated project templates
[releng/builder.git] / jjb / snmp4sdn / snmp4sdn.yaml
index f3d69c0b689c75280c2efcb917d89732ed59894f..65b4a1ad7406557a803d8dd4c192e03223b3d184 100644 (file)
@@ -8,7 +8,7 @@
     jobs:
         - 'snmp4sdn-verify-{stream}'
         - 'snmp4sdn-merge-{stream}'
-        - 'snmp4sdn-daily-{stream}'
+        - 'snmp4sdn-periodic-{stream}'
         - 'snmp4sdn-distribution-{stream}'
         - 'snmp4sdn-integration-{stream}'
         - 'snmp4sdn-sonar'
         - findbugs
 
     publishers:
+        - archive-artifacts:
+            artifacts: '**/target/surefire-reports/*-output.txt, '
         - email-notification:
             email-prefix: '[snmp4sdn]'
         - maven-deploy:
         - jacoco-report
 
 - job-template:
-    name: 'snmp4sdn-daily-{stream}'
+    name: 'snmp4sdn-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
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+        goals: 'clean install -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
         maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
         settings: '{snmp4sdn-settings}'
         global-settings: '{odl-global-settings}'
 
     postbuilders:
+        - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
         - check-clm:
             application-name: snmp4sdn