From f651e964a69d44da8a9c5ef6f7bbda432276ced6 Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Mon, 14 Nov 2016 10:55:55 +0800 Subject: [PATCH] fuel: cann't find latest.properties See https://build.opnfv.org/ci/job/fuel-deploy-zte-pod1-daily-colorado/76/console latest.properties is downloaded under $WORKSPACE. Use absolute path $WORKSPACE/latest.properties in these two sentence. local test is OK. JIRA: FUEL-225 Change-Id: I37cf3835c56f44cee31a8814b4af1e71c8d1cc6a Signed-off-by: wu.zhihui --- jjb/fuel/fuel-download-artifact.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/fuel/fuel-download-artifact.sh b/jjb/fuel/fuel-download-artifact.sh index 5685444f8..3f691d821 100755 --- a/jjb/fuel/fuel-download-artifact.sh +++ b/jjb/fuel/fuel-download-artifact.sh @@ -24,10 +24,10 @@ else fi # check if we got the file -[[ -f latest.properties ]] || exit 1 +[[ -f $WORKSPACE/latest.properties ]] || exit 1 # source the file so we get artifact metadata -source latest.properties +source $WORKSPACE/latest.properties # echo the info about artifact that is used during the deployment OPNFV_ARTIFACT=${OPNFV_ARTIFACT_URL/*\/} -- 2.16.6