From 579aed41615003b34bd1dad32c5f501873c7d362 Mon Sep 17 00:00:00 2001 From: Max Forbes Date: Tue, 12 May 2015 09:23:41 -0700 Subject: [PATCH] Add zone to jenkins version-getting call. --- hack/jenkins/e2e.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index c5903550c3..bf6416d076 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -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##*:}