summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-15 11:35:45 -0400
committerTim Rozet <trozet@redhat.com>2017-05-15 11:35:45 -0400
commit8b14db775fa6668f2e4f7ced88e02d8713f4fa26 (patch)
tree6bfce127999ad7fe74c1d92a80f577d94ef20449
parentf516cba24f649483a15b20da19ba89afe658d07d (diff)
Apex: fixes checking dev for verify build
Change-Id: I8f283f6db366fc55a7eb52789affed7426521d17 Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xjjb/apex/apex-build.sh4
1 files changed, 2 insertions, 2 deletions
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
(