Merge "sdninterfaceapp automatic system testing support"
[releng/builder.git] / jjb / nic / nic.yaml
index 119d65b10e3df95f41894f225f6df080aeb48ece..698b4f39ad62329d821050356e762e6a4ff260c2 100644 (file)
@@ -8,7 +8,7 @@
     jobs:
         - 'nic-verify-{stream}'
         - 'nic-merge-{stream}'
-        - 'nic-daily-{stream}'
+        - 'nic-periodic-{stream}'
         - 'nic-distribution-{stream}'
         - 'nic-integration-{stream}'
         - 'nic-sonar'
@@ -38,7 +38,7 @@
             jdk: openjdk7
             jdks:
                 - openjdk7
-            disable_autorelease: True
+            disable_autorelease: False
 
     project: 'nic'
 
                 - '{ssh-credentials}'
 
     triggers:
+        - timed: 'H H * * 0'
         - gerrit-trigger-patch-merged:
             name: 'nic'
             branch: '{branch}'
         - findbugs
 
     publishers:
+        - archive-artifacts:
+            artifacts: '**/target/surefire-reports/*-output.txt, '
         - email-notification:
             email-prefix: '[nic]'
         - maven-deploy:
         - jacoco-report
 
 - job-template:
-    name: 'nic-daily-{stream}'
+    name: 'nic-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 -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
+        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'
         maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
         settings: '{nic-settings}'
         global-settings: '{odl-global-settings}'
 
     postbuilders:
+        - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
         - check-clm:
             application-name: nic