From 63d8563d811c0a8cee9dcf64dd79e603c0809c81 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Fri, 3 Mar 2017 18:41:39 +0000 Subject: [doctor] add postbuildscript for functest log Change-Id: Ifebef95a69f98f53fc3c826116bf45c647d4911f Signed-off-by: Ryota MIBU --- jjb/doctor/doctor.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'jjb') diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml index 2267a28f7..5314996eb 100644 --- a/jjb/doctor/doctor.yml +++ b/jjb/doctor/doctor.yml @@ -153,10 +153,15 @@ grep -e ' OK$' $functest_log || exit 1 publishers: + - postbuildscript: + builders: + - shell: | + cp $HOME/opnfv/functest/results/{stream}/{project}.log \ + tests/functest-{project}.log + script-only-if-succeeded: False + script-only-if-failed: False - archive: artifacts: 'tests/*.log' - - archive: - artifacts: '$HOME/opnfv/functest/results/{stream}/{project}.log' ##################################### -- cgit 1.2.3-korg