Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[FIXED JENKINS-23677] Removed leading slash from image URL.
  • Loading branch information
uhafner committed Aug 5, 2014
1 parent aa2b201 commit a628f770e6644f9ffcea40273272a944f527c45d
Showing with 6 additions and 10 deletions.
  1. +6 −10 src/main/java/hudson/plugins/analysis/core/AbstractProjectAction.java
@@ -1,14 +1,11 @@
package hudson.plugins.analysis.core;

import javax.annotation.CheckForNull;
import java.io.IOException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;

import javax.annotation.CheckForNull;

import jenkins.model.Jenkins;

import org.jvnet.localizer.Localizable;
import org.kohsuke.stapler.Stapler;
import org.kohsuke.stapler.StaplerRequest;
@@ -17,25 +14,24 @@
import com.google.common.collect.Lists;

import edu.umd.cs.findbugs.annotations.SuppressWarnings;
import jenkins.model.Jenkins;

import hudson.model.Action;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;

import hudson.model.Action;
import hudson.plugins.analysis.graph.BuildResultGraph;
import hudson.plugins.analysis.graph.DefaultGraphConfigurationView;
import hudson.plugins.analysis.graph.DifferenceGraph;
import hudson.plugins.analysis.graph.EmptyGraph;
import hudson.plugins.analysis.graph.GraphConfiguration;
import hudson.plugins.analysis.graph.GraphConfigurationView;
import hudson.plugins.analysis.graph.HealthGraph;
import hudson.plugins.analysis.graph.NewVersusFixedGraph;
import hudson.plugins.analysis.graph.NullGraph;
import hudson.plugins.analysis.graph.PriorityGraph;
import hudson.plugins.analysis.graph.TotalsGraph;
import hudson.plugins.analysis.graph.UserGraphConfigurationView;
import hudson.plugins.analysis.graph.GraphConfigurationView;
import hudson.plugins.analysis.graph.TrendDetails;

import hudson.plugins.analysis.graph.UserGraphConfigurationView;
import hudson.util.Graph;

/**
@@ -341,7 +337,7 @@ protected GraphConfiguration createConfiguration(final List<BuildResultGraph> av
public String getIconFileName() {
ResultAction<?> lastAction = getLastAction();
if (lastAction != null && lastAction.getResult().hasAnnotations()) {
return Jenkins.RESOURCE_PATH + "/" + iconUrl;
return Jenkins.RESOURCE_PATH + iconUrl;
}
return null;
}

0 comments on commit a628f77

Please sign in to comment.