mirror of https://github.com/jenkinsci/docker.git
Try to tell shellcheck to allow to fix jenkinsci/docker/#784
This commit is contained in:
parent
8361eb1191
commit
9639c9dfd1
|
|
@ -83,6 +83,9 @@ doDownload() {
|
|||
fi
|
||||
|
||||
echo "Downloading plugin: $plugin from $url"
|
||||
# We actually want to allow variable value to be split into multiple options passed to curl.
|
||||
# This is needed to allow long options and any options that take value.
|
||||
# shellcheck disable=SC2086
|
||||
retry_command curl ${CURL_OPTIONS:--sSfL} --connect-timeout "${CURL_CONNECTION_TIMEOUT:-20}" --retry "${CURL_RETRY:-3}" --retry-delay "${CURL_RETRY_DELAY:-0}" --retry-max-time "${CURL_RETRY_MAX_TIME:-60}" "$url" -o "$jpi"
|
||||
return $?
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue