Skip to content

Commit

Permalink
[FIXED JENKINS-34880] do not show warnings if tool installer is prese…
Browse files Browse the repository at this point in the history
…nt in at least 1 update site (#2361)
  • Loading branch information
varmenise authored and oleg-nenashev committed May 21, 2016
1 parent 1d2b151 commit dce35f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/DownloadService.java
Expand Up @@ -403,7 +403,7 @@ public FormValidation updateNow() throws IOException {
jsonString = loadJSONHTML(new URL(site + ".html?id=" + URLEncoder.encode(getId(), "UTF-8") + "&version=" + URLEncoder.encode(Jenkins.VERSION, "UTF-8")));
toolInstallerMetadataExists = true;
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Could not load json from " + site, e );
LOGGER.log(Level.FINE, "Could not load json from " + site, e );
continue;
}
JSONObject o = JSONObject.fromObject(jsonString);
Expand Down

0 comments on commit dce35f3

Please sign in to comment.