From: Tim Rozet Date: Sat, 13 May 2017 03:02:01 +0000 (-0400) Subject: Apex: fixes build directory assumption in upload artifact X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F34707%2F1;p=releng.git Apex: fixes build directory assumption in upload artifact Change-Id: Iae230e37137b0408a74ba74bd551a88dd6ffa076 Signed-off-by: Tim Rozet --- diff --git a/jjb/apex/apex-upload-artifact.sh b/jjb/apex/apex-upload-artifact.sh index 96c22bfac..c8862964c 100755 --- a/jjb/apex/apex-upload-artifact.sh +++ b/jjb/apex/apex-upload-artifact.sh @@ -13,10 +13,9 @@ echo "Uploading the Apex ${ARTIFACT_TYPE} artifact. This could take some time... echo "--------------------------------------------------------" echo -# source the opnfv.properties to get ARTIFACT_VERSION -source $WORKSPACE/opnfv.properties +BUILD_DIRECTORY=$WORKSPACE/../$BUILD_DIRECTORY -BUILD_DIRECTORY=${WORKSPACE}/.build +source $BUILD_DIRECTORY/../opnfv.properties importkey () { # clone releng repository