Merge pull request #8118 from mbforbes/jenkinsZone

Add zone to jenkins version-getting call.
pull/6/head
Zach Loafman 2015-05-12 09:28:51 -07:00
commit 4e023e9f8e
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ if [[ "${E2E_UP,,}" == "true" ]]; then
# 0.15.0,0.16.0.
# The command should error, so we throw an || true on there.
msg=$(gcloud alpha container clusters create this-wont-work \
--cluster-api-version=0.0.0 2>&1 | tr -d '[[:space:]]') || true
--zone=us-central1-f --cluster-api-version=0.0.0 2>&1 \
| tr -d '[[:space:]]') || true
# Strip out everything before the final colon, which gives us just
# the allowed versions; something like "0.15.0,0.16.0." or "0.16.0."
msg=${msg##*:}