Apex: fixes checking dev for verify build
[releng.git] / jjb / apex / apex-upload-artifact.sh
index 96c22bf..c886296 100755 (executable)
@@ -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