use actual $WORKSPACE instead of /tmp for pybot variable
[releng/builder.git] / jjb-templates / clm.yaml
index 9d5e433f6636396944dab6b46925514254a6175e..7a0ba94456a666cc2636c454ffe1e42fed8e7849 100644 (file)
@@ -1,5 +1,6 @@
 - job-template:
     name: 'PROJECT_SHORTNAME-clm-{stream}'
+    disabled: false
 
     project-type: maven
     node: dynamic_verify
@@ -28,7 +29,7 @@
                 - '{ssh-credentials}'
 
     triggers:
-        - timed: '@weekly'
+        - timed: 'H H * * 6'
 
     prebuilders:
         - wipe-org-opendaylight-repo
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -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: '{JENKINS_SETTINGS}'
         global-settings: '{odl-global-settings}'
 
     postbuilders:
+        - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
         - check-clm:
             application-name: PROJECT_SHORTNAME