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
This commit is contained in:
Max 2018-01-12 16:30:10 +01:00
parent 00fd0df046
commit 3e659ea9b7
1 changed files with 2 additions and 2 deletions

View File

@ -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