[doctor] enable joid jobs 89/27889/2
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Thu, 2 Feb 2017 11:08:20 +0000 (11:08 +0000)
committerRyota MIBU <r-mibu@cq.jp.nec.com>
Fri, 3 Feb 2017 05:50:09 +0000 (05:50 +0000)
This patch enables doctor joid jobs for verification.

This patch also makes sure there is no log files before starting tests.

Change-Id: Idee794490c4ce794f3e7b7621fffcd5edeed9c83
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
jjb/doctor/doctor.yml
jjb/global/releng-macros.yml

index 11b4ffb..2333fca 100644 (file)
         - fuel:
             slave-label: 'ool-virtual2'
             pod: 'ool-virtual2'
-        # TODO(r-mibu): enable this once joid is ready
-        #- joid:
-        #    slave-label: 'ool-virtual3'
-        #    pod: 'ool-virtual3'
+        - joid:
+            slave-label: 'ool-virtual3'
+            pod: 'ool-virtual3'
 
     inspector:
         - 'sample'
             branch: '{branch}'
 
     builders:
+        - 'clean-workspace-log'
         - 'functest-suite-builder'
         - shell: |
             functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
index e644096..7e11d92 100644 (file)
               sed -r -i '4,$s/^/ /g' lint.log
             fi
 
+- builder:
+    name: clean-workspace-log
+    builders:
+        - shell: |
+            find $WORKSPACE -type f -print -name '*.log' | xargs rm -f
+
 - publisher:
     name: archive-artifacts
     publishers: