From 3781d905d3f2b3de08b100d8e3c4e6669da32aaf Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Mon, 17 Jul 2017 13:01:48 +0000 Subject: [PATCH] doctor: workaround for bug of set-functest-env.sh `set-functest-env.sh' is expected to run with functest jobs, so it need one of the files in functest repo placed under WORKSPACE. This patch avoiding this bug by getting functest repo in pre section of functest trigger. Change-Id: Ib266781005bab18f34fa0cdfe50e0facb95d27ef Signed-off-by: Ryota MIBU --- jjb/doctor/doctor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml index c5454c799..5bb8f7499 100644 --- a/jjb/doctor/doctor.yml +++ b/jjb/doctor/doctor.yml @@ -189,6 +189,11 @@ # so this symbolic link should not be in 'tests/'. Otherwise, # we'll have the same log twice in jenkins console log. ln -sfn $HOME/opnfv/functest/results/{stream} functest_results + # NOTE: Get functest script in $WORKSPACE. This functest script is + # needed to perform VM image download in set-functest-env.sh + # from E release cycle. + mkdir -p functest/ci + wget https://git.opnfv.org/functest/plain/functest/ci/download_images.sh -O functest/ci/download_images.sh - 'functest-suite-builder' - shell: | functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log" -- 2.16.6