From 427e34a32552a41f3cd64d54496563a0c5850ced Mon Sep 17 00:00:00 2001 From: Jeff Lowdermilk Date: Thu, 9 Jun 2016 12:34:24 -0700 Subject: [PATCH] Use latest branch build for GKE tests. Pull the latest build of the release the server is running, rather than matching exact version. This allows GKE to pick up test fixes from branch head, instead of waiting for a patch. --- hack/jenkins/e2e-runner.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/e2e-runner.sh b/hack/jenkins/e2e-runner.sh index 4470633246776..3c839d15b6e96 100755 --- a/hack/jenkins/e2e-runner.sh +++ b/hack/jenkins/e2e-runner.sh @@ -34,8 +34,9 @@ function fetch_output_tars() { } function fetch_server_version_tars() { - local -r build_version="v$(gcloud ${CMD_GROUP:-} container get-server-config --project=${PROJECT} --zone=${ZONE} --format='value(defaultClusterVersion)')" - fetch_tars_from_gcs "release" "${build_version}" + local -r build_version="$(gcloud ${CMD_GROUP:-} container get-server-config --project=${PROJECT} --zone=${ZONE} --format='value(defaultClusterVersion)')" + # Use latest build of the server version's branch. + fetch_tars_from_gcs "release" "ci/latest-${build_version:0:3}" unpack_binaries }