Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[FIXED JENKINS-9997] Use Jenkins root path when accessing images.
  • Loading branch information
uhafner committed Jun 16, 2011
1 parent 1ef1f5d commit fc8f56cbdf4965c5f8eb40c256c11d8c50e70200
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/analysis/core/BuildResult.java
@@ -1178,7 +1178,7 @@ private String getReferenceBuildUrl() {
* @return the icon for the build result
*/
public String getResultIcon() {
String rootUrl = Hudson.getInstance().getRootUrlFromRequest();
String rootUrl = Hudson.getInstance().getRootUrl();

String message = "<img src=\"" + rootUrl + "/images/16x16/%s\" alt=\"%s\" title=\"%s\"/>";
if (pluginResult == Result.FAILURE) {

0 comments on commit fc8f56c

Please sign in to comment.