apex spec file is one directory deeper 07/2607/1
authorDan Radez <dradez@redhat.com>
Fri, 16 Oct 2015 21:26:52 +0000 (17:26 -0400)
committerDan Radez <dradez@redhat.com>
Fri, 16 Oct 2015 21:26:52 +0000 (17:26 -0400)
Change-Id: I87cec5251a6127acf1f62fc55e6f7a9dd8749c15
Signed-off-by: Dan Radez <dradez@redhat.com>
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