diff options
author | Max <msuraev@sysmocom.de> | 2018-01-12 16:30:10 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-01-12 17:07:13 +0000 |
commit | 3e659ea9b7308f5032c9b0d4d47841a414303d1d (patch) | |
tree | 12bf30f0617a9254d2c17eef429c6941c20116da /contrib | |
parent | 00fd0df046c91022d7de1e46c433e7dfb7f5fce5 (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
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/jenkins.sh | 4 |
1 files 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 |