Apex: Fixes daily RPM_VERSION var 99/13799/1
authorTim Rozet <trozet@redhat.com>
Mon, 9 May 2016 19:08:10 +0000 (15:08 -0400)
committerTim Rozet <trozet@redhat.com>
Mon, 9 May 2016 19:08:10 +0000 (15:08 -0400)
Change-Id: Ic7c7305acd63d5b14894dee45639925bf6be405e
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex.yml

index 29e353b..060cda2 100644 (file)
             # start the build
             cd $WORKSPACE/ci
             ./build.sh $BUILD_ARGS
-            RPM_VERSION=$(grep Version $BUILD_DIRECTORY/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
+            RPM_VERSION=$(grep Version: $BUILD_DIRECTORY/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