Merge "apex spec file is one directory deeper"
authorTim Rozet <trozet@redhat.com>
Fri, 16 Oct 2015 21:32:42 +0000 (21:32 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Fri, 16 Oct 2015 21:32:42 +0000 (21:32 +0000)
jjb/apex/apex.yml

index b29bef6..96d6af0 100644 (file)
             # start the build
             cd $WORKSPACE/ci
             ./build.sh $FLAGS -v $OPNFV_ARTIFACT_VERSION -c file://$CACHE_DIRECTORY $BUILD_DIRECTORY
-            RPM_VERSION=$(grep Version $BUILD_DIRECTORY/../opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
+            RPM_VERSION=$(grep Version $BUILD_DIRECTORY/../build/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
             # list the contents of BUILD_OUTPUT directory
             ls -al $BUILD_DIRECTORY
             # save information regarding artifact into file