From 3e659ea9b7308f5032c9b0d4d47841a414303d1d Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 12 Jan 2018 16:30:10 +0100 Subject: 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 --- contrib/jenkins.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index 05b96393..b7cfc3d7 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 -- cgit v1.2.3