summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2016-09-28 00:05:59 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-28 00:05:59 +0000
commite9c79c7e8b4d67ee0c8ab3ccc31ce76544fb6266 (patch)
tree4ae4517021541bf680662d172c0177825b0413cd /jjb
parent22b11a71a3669c4bf1c7a276201b1eb169b019dc (diff)
parenta66f639d2dd0cc2c0122ec410f712461faca20f1 (diff)
Merge "[doctor] archive functest log after suite test"
Diffstat (limited to 'jjb')
-rw-r--r--jjb/doctor/doctor.yml18
1 files changed, 13 insertions, 5 deletions
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml
index f93ac9bef..4958ca2b5 100644
--- a/jjb/doctor/doctor.yml
+++ b/jjb/doctor/doctor.yml
@@ -136,9 +136,17 @@
TESTCASE_OPTIONS=-e INSPECTOR_TYPE=congress -v $WORKSPACE:$HOME/opnfv/repos/doctor
block: true
same-node: true
+
+ publishers:
+ - postbuildscript:
+ builders:
+ - functest-copy-suite-log:
+ suite: '{project}'
+ - archive:
+ artifacts: '{project}.log'
+
+- builder:
+ name: functest-copy-suite-log
+ builders:
- shell: |
- logfile=$HOME/opnfv/functest/results/{stream}/doctor.log
- echo
- echo "[$logfile]"
- echo
- [ -e $logfile ] && cat $logfile
+ cp $HOME/opnfv/functest/results/${{GIT_BRANCH##*/}}/{suite}.log $WORKSPACE/