diff --git a/ci/build.gradle b/ci/build.gradle index 33f887bf3f..4d2b2eb12a 100644 --- a/ci/build.gradle +++ b/ci/build.gradle @@ -164,7 +164,7 @@ task createDockerfile(type: Dockerfile, dependsOn: copyFiles) { // install kubectl runCommand """\\ cd /home/jenkins && \\ - curl -LOv "https://dl.k8s.io/release/`curl -L -s https://dl.k8s.io/release/stable.txt`/bin/linux/amd64/kubectl" && \\ + curl -LOvk "https://dl.k8s.io/release/`curl -Lsk https://dl.k8s.io/release/stable.txt`/bin/linux/amd64/kubectl" && \\ sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \\ rm kubectl """