aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2020-04-20 08:28:01 -0400
committerGitHub <noreply@github.com>2020-04-20 08:28:01 -0400
commitb26af2a295a4b3fdded2c1a9bacffe6020305127 (patch)
tree1a493f8cb24d5cbd926bb06ccb038cba6890c159
parentdc3b55c64c126363f9c12440ca45b6d944053db4 (diff)
downloadshared_utils-b26af2a295a4b3fdded2c1a9bacffe6020305127.tar.gz
Tell curl to follow redirects
This should avoid job failures due to inability to download miniconda installer from time to time.
-rw-r--r--vars/conda.groovy2
1 files changed, 1 insertions, 1 deletions
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