10 seconds is too little to download plugins

This commit is contained in:
Carlos Sanchez 2016-06-27 17:08:36 +02:00
parent 16ae24e570
commit 050b643bd3
1 changed files with 1 additions and 1 deletions

View File

@ -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 $?
}