From b26af2a295a4b3fdded2c1a9bacffe6020305127 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Mon, 20 Apr 2020 08:28:01 -0400 Subject: Tell curl to follow redirects This should avoid job failures due to inability to download miniconda installer from time to time. --- vars/conda.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vars') diff --git a/vars/conda.groovy b/vars/conda.groovy index 7bb274f..009ece8 100644 --- a/vars/conda.groovy +++ b/vars/conda.groovy @@ -21,7 +21,7 @@ def install(version="4.3.31", py_maj_version=3, install_dir="miniconda") { // Check for the availability of a download tool and then use it // to get the conda installer. - def dl_cmds = ["curl -OSs", + def dl_cmds = ["curl -LOSs", "wget --no-verbose --server-response --no-check-certificate"] def dl_cmd = null def stat1 = 999 -- cgit