summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-12 23:02:01 -0400
committerTim Rozet <trozet@redhat.com>2017-05-12 23:02:01 -0400
commit3579f85c1d3400c5ce72a27453621304f83fdc70 (patch)
tree4e5924a50f53730a4f4472ad7a040c071b9a2a98 /jjb
parentc6222bda887a22bf40e7c062b727d33b24e1f1e8 (diff)
Apex: fixes build directory assumption in upload artifact
Change-Id: Iae230e37137b0408a74ba74bd551a88dd6ffa076 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/apex/apex-upload-artifact.sh5
1 files changed, 2 insertions, 3 deletions
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