aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-12 16:30:10 +0100
committerMax <msuraev@sysmocom.de>2018-01-12 17:07:13 +0000
commit3e659ea9b7308f5032c9b0d4d47841a414303d1d (patch)
tree12bf30f0617a9254d2c17eef429c6941c20116da
parent00fd0df046c91022d7de1e46c433e7dfb7f5fce5 (diff)
Fix jenkins.sh to match jenkins job axis filter
The 'yes/no' values are automatically converted to True/False upon jenkins job instantiation. Let's use those directly. Change-Id: Ib2100c8345d1f07f488de8170348fec9f877dd9b
-rwxr-xr-xcontrib/jenkins.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 05b9639..b7cfc3d 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -51,9 +51,9 @@ else
exit 1
fi
-if [ "$with_vty" = "yes" ]; then
+if [ "$with_vty" = "True" ]; then
PCU_CONFIG="$PCU_CONFIG --enable-vty-tests"
-elif [ -z "$with_vty" -o "$with_vty" = "no" ]; then
+elif [ -z "$with_vty" -o "$with_vty" = "False" ]; then
echo "VTY tests disabled"
else
echo 'Invalid $with_vty value:' $with_vty