Skip to content

Commit 3b44bdc

Browse files
adding --ipv4 to curl (#2448)
1 parent 37dbb42 commit 3b44bdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jenkinsScript.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,19 @@ which mvn
8282
mvn --version
8383

8484
echo 'Info: Set up helm...'
85-
curl -LO --retry 3 https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz
85+
curl --ipv4 -LO --retry 3 https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz
8686
tar -xf helm-v${HELM_VERSION}-linux-amd64.tar.gz
8787
cp linux-amd64/helm ${WORKSPACE}/bin/helm
8888
helm version
8989

9090
echo 'Info: Set up kubectl...'
91-
curl -LO --retry 3 https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl
91+
curl --ipv4 -LO --retry 3 https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl
9292
mv kubectl bin/kubectl
9393
chmod +x bin/kubectl
9494
kubectl version --client=true
9595

9696
echo 'Info: Set up kind...'
97-
curl -Lo ./kind --retry 3 https://kind.sigs.k8s.io/dl/v${KIND_VERSION}/kind-$(uname)-amd64
97+
curl --ipv4 -Lo ./kind --retry 3 https://kind.sigs.k8s.io/dl/v${KIND_VERSION}/kind-$(uname)-amd64
9898
chmod +x ./kind
9999
mv ./kind bin/kind
100100
kind version

0 commit comments

Comments
 (0)