Skip to content

Commit

Permalink
JENKINS-43711
Browse files Browse the repository at this point in the history
  • Loading branch information
ghenzler committed Apr 20, 2017
1 parent e5f9d89 commit 73af301
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -48,7 +48,8 @@ public void generateResponse(StaplerRequest request, StaplerResponse response, O
try {
URL url = new URL(urlStr);
urlCon = (HttpURLConnection) url.openConnection();

urlCon.setConnectTimeout(30000);
urlCon.setReadTimeout(30000);

if(StringUtils.isNotBlank(httpBasicAuthUser) && StringUtils.isNotBlank(httpBasicAuthPw)) {
final String strEncoding = "UTF-8";
Expand Down

0 comments on commit 73af301

Please sign in to comment.