Apex: Always build RPM in build job 61/57861/1
authorTim Rozet <trozet@redhat.com>
Thu, 24 May 2018 20:35:18 +0000 (16:35 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 24 May 2018 20:35:18 +0000 (16:35 -0400)
Change-Id: Ie2d0a730801bc7f5bb784ee90e60e8e30562ef47
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-build.sh

index 0c58a3c..09aa716 100755 (executable)
@@ -24,14 +24,14 @@ elif echo $BUILD_TAG | grep "csit" 1> /dev/null; then
 elif [ "$ARTIFACT_VERSION" == "daily" ]; then
   export OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d")
   if [ "$BRANCH" == 'master' ]; then
-    export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY"
+    export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY --rpms"
   else
     export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY --iso"
   fi
 else
   export OPNFV_ARTIFACT_VERSION=${ARTIFACT_VERSION}
   if [ "$BRANCH" == 'master' ]; then
-    export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY"
+    export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY --rpms"
   else
     export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY --iso"
   fi