10 seconds is too little to download plugins
This commit is contained in:
parent
16ae24e570
commit
050b643bd3
|
@ -60,7 +60,7 @@ function doDownload() {
|
|||
url="$JENKINS_UC/download/plugins/$plugin/$version/${plugin}.hpi"
|
||||
|
||||
echo "Downloading plugin: $plugin from $url"
|
||||
curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 -s -f -L "$url" -o "$jpi"
|
||||
curl --connect-timeout 5 --retry 5 --retry-delay 0 --retry-max-time 60 -f -L "$url" -o "$jpi"
|
||||
return $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue