Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Tagging SampleVNF stable/gambia branch for Gambia 7.2.0
[releng.git]
/
jjb
/
apex
/
apex-deploy.sh
diff --git
a/jjb/apex/apex-deploy.sh
b/jjb/apex/apex-deploy.sh
index
0e247df
..
09d6ca6
100755
(executable)
--- a/
jjb/apex/apex-deploy.sh
+++ b/
jjb/apex/apex-deploy.sh
@@
-13,7
+13,7
@@
echo "Starting the Apex deployment."
echo "--------------------------------------------------------"
echo
echo "--------------------------------------------------------"
echo
-if [ -z
"$DEPLOY_SCENARIO"
]; then
+if [ -z
${DEPLOY_SCENARIO+x}
]; then
echo "Deploy scenario not set!"
exit 1
else
echo "Deploy scenario not set!"
exit 1
else
@@
-151,7
+151,7
@@
if [[ "$JOB_NAME" =~ "virtual" ]]; then
else
ENV_TYPE="functest"
fi
else
ENV_TYPE="functest"
fi
- if [ -z
"$OS_VERSION"
]; then
+ if [ -z
${OS_VERSION+x}
]; then
echo "INFO: OS_VERSION not passed to deploy, detecting based on branch and scenario"
case $BRANCH in
master)
echo "INFO: OS_VERSION not passed to deploy, detecting based on branch and scenario"
case $BRANCH in
master)