Skip to content

Commit

Permalink
[JENKINS-31162] No forced the usage of Jenkins.RESOURCE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
recena committed Mar 23, 2016
1 parent 501279b commit 273a410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/model/ExternalJob.java
Expand Up @@ -152,7 +152,7 @@ public String getDescription() {
* @return A string it represents a URL pattern to get the Item icon in different sizes.
*/
public String getIconFilePathPattern() {
return (Jenkins.RESOURCE_PATH + "/plugin/external-monitor-job/images/:size/externaljob.png").replaceFirst("^/", "");
return "plugin/external-monitor-job/images/:size/externaljob.png";
}

public ExternalJob newInstance(ItemGroup parent, String name) {
Expand Down

0 comments on commit 273a410

Please sign in to comment.