Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[FIXED JENKINS-9997] Use Jenkins root path when accessing images.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jun 16, 2011
1 parent 1ef1f5d commit fc8f56c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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) {
Expand Down

0 comments on commit fc8f56c

Please sign in to comment.