Skip to content

Commit

Permalink
Merge pull request kubernetes#6177 from zmerlynn/latest_release_on_test
Browse files Browse the repository at this point in the history
Allow gke-test to run on latest release version
  • Loading branch information
vmarmol committed Mar 30, 2015
2 parents 4659a12 + ec53868 commit 600cc76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/jenkins/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ cd kubernetes
# Set by GKE-CI to change the CLUSTER_API_VERSION to the git version
if [[ ! -z ${E2E_SET_CLUSTER_API_VERSION:-} ]]; then
export CLUSTER_API_VERSION=$(echo ${GITHASH} | cut -c 2-)
elif [[ ! -z ${E2E_USE_LATEST_RELEASE_VERSION:-} ]]; then
release=$(gsutil cat gs://kubernetes-release/release/latest.txt)
export CLUSTER_API_VERSION=${release}
fi

# Have cmd/e2e run by goe2e.sh generate JUnit report in ${WORKSPACE}/junit*.xml
Expand Down

0 comments on commit 600cc76

Please sign in to comment.