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 <wu.zhihui1@zte.com.cn>
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/*\/}