From 20e220e51c8be2117f772fd69552d65f0972c0af Mon Sep 17 00:00:00 2001 From: Isaac Hollander McCreery Date: Wed, 18 May 2016 08:46:45 -0700 Subject: [PATCH] Fix JENKINS_USE_SKEW_KUBECTL --- hack/jenkins/e2e-runner.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hack/jenkins/e2e-runner.sh b/hack/jenkins/e2e-runner.sh index 784217a12ee..efa8c84b47e 100755 --- a/hack/jenkins/e2e-runner.sh +++ b/hack/jenkins/e2e-runner.sh @@ -342,9 +342,10 @@ if [[ -n "${JENKINS_PUBLISHED_SKEW_VERSION:-}" ]]; then if [[ "${JENKINS_USE_SKEW_TESTS:-}" != "true" ]]; then # Back out into the old tests now that we've downloaded & maybe upgraded. cd ../kubernetes_old - elif [[ "${JENKINS_USE_SKEW_KUBECTL:-}" == "true" ]]; then - # Append kubectl-path of skewed kubectl to test args - GINKGO_TEST_ARGS="${GINKGO_TEST_ARGS:-} --kubectl-path=$(pwd)/../kubernetes/cluster/kubectl.sh" + if [[ "${JENKINS_USE_SKEW_KUBECTL:-}" == "true" ]]; then + # Append kubectl-path of skewed kubectl to test args + GINKGO_TEST_ARGS="${GINKGO_TEST_ARGS:-} --kubectl-path=$(pwd)/../kubernetes/cluster/kubectl.sh" + fi fi fi