From 8b14db775fa6668f2e4f7ced88e02d8713f4fa26 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Mon, 15 May 2017 11:35:45 -0400 Subject: Apex: fixes checking dev for verify build Change-Id: I8f283f6db366fc55a7eb52789affed7426521d17 Signed-off-by: Tim Rozet --- jjb/apex/apex-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jjb') diff --git a/jjb/apex/apex-build.sh b/jjb/apex/apex-build.sh index bf660a42c..aaa0017de 100755 --- a/jjb/apex/apex-build.sh +++ b/jjb/apex/apex-build.sh @@ -9,7 +9,7 @@ echo # create the cache directory if it doesn't exist [[ -d $CACHE_DIRECTORY ]] || mkdir -p $CACHE_DIRECTORY # set OPNFV_ARTIFACT_VERSION -if echo $ARTIFACT_VERSION | grep "apex-verify" 1> /dev/null; then +if echo $ARTIFACT_VERSION | grep "dev" 1> /dev/null; then export OPNFV_ARTIFACT_VERSION="dev${GERRIT_CHANGE_NUMBER}${GERRIT_PATCHSET_NUMBER}" export BUILD_ARGS="-r $OPNFV_ARTIFACT_VERSION -c $CACHE_DIRECTORY" elif echo $BUILD_TAG | grep "csit" 1> /dev/null; then @@ -42,7 +42,7 @@ echo "Cache Directory Contents:" echo "-------------------------" ls -al $CACHE_DIRECTORY -if ! echo $ARTIFACT_VERSION | grep "apex-verify" 1> /dev/null; then +if ! echo $ARTIFACT_VERSION | grep "dev" 1> /dev/null; then echo "Writing opnfv.properties file" # save information regarding artifact into file ( -- cgit 1.2.3-korg