summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2017-02-02 11:08:20 +0000
committerRyota MIBU <r-mibu@cq.jp.nec.com>2017-02-03 05:50:09 +0000
commit45464855ca8dce449d5a5d7990168fb025b3a35f (patch)
treefdefab0074fb097db80a1f818dfd4f0626f5e981
parentb4c081c4458de68d54c9a8a9627a85cc8446187c (diff)
[doctor] enable joid jobs
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>
-rw-r--r--jjb/doctor/doctor.yml8
-rw-r--r--jjb/global/releng-macros.yml6
2 files changed, 10 insertions, 4 deletions
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml
index 11b4ffbc2..2333fca14 100644
--- a/jjb/doctor/doctor.yml
+++ b/jjb/doctor/doctor.yml
@@ -22,10 +22,9 @@
- 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'
@@ -145,6 +144,7 @@
branch: '{branch}'
builders:
+ - 'clean-workspace-log'
- 'functest-suite-builder'
- shell: |
functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml
index e6440966a..7e11d92f6 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -423,6 +423,12 @@
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: