Apex: Disables building ISO for csit promote job 15/27915/1
authorTim Rozet <trozet@redhat.com>
Thu, 2 Feb 2017 15:11:24 +0000 (10:11 -0500)
committerTim Rozet <trozet@redhat.com>
Thu, 2 Feb 2017 15:11:24 +0000 (10:11 -0500)
Change-Id: If84b310afdca95a4ffa85de218b549cecf1916e2
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-build.sh

index ee1dfb5..220d024 100755 (executable)
@@ -12,6 +12,9 @@ echo
 if echo $BUILD_TAG | grep "apex-verify" 1> /dev/null; then
   export OPNFV_ARTIFACT_VERSION=dev${BUILD_NUMBER}
   export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY"
+elif echo $BUILD_TAG | grep "csit" 1> /dev/null; then
+  export OPNFV_ARTIFACT_VERSION=csit${BUILD_NUMBER}
+  export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY"
 elif [ "$ARTIFACT_VERSION" == "daily" ]; then
   export OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d")
   export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY --iso"