[PATCH] osmo-pcu[master]: Fix jenkins.sh to match jenkins job axis filter

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Jan 12 15:32:13 UTC 2018


Review at  https://gerrit.osmocom.org/5772

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
---
M contrib/jenkins.sh
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/72/5772/1

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

-- 
To view, visit https://gerrit.osmocom.org/5772
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2100c8345d1f07f488de8170348fec9f877dd9b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list