Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
3  src/main/java/hudson/plugins/git/util/BuildData.java
View
@@ -1,5 +1,6 @@
package hudson.plugins.git.util;
+import hudson.Functions;
import hudson.model.AbstractBuild;
import hudson.model.Action;
import hudson.model.Api;
@@ -61,7 +62,7 @@ public String getDisplayName() {
return "Git Build Data";
}
public String getIconFileName() {
- return "/plugin/git/icons/git-32x32.png";
+ return Functions.getResourcePath()+"/plugin/git/icons/git-32x32.png";
}
public String getUrlName() {
return "git";
2  src/main/resources/hudson/plugins/git/util/BuildData/summary.jelly
View
@@ -1,7 +1,7 @@
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler"
xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson"
xmlns:f="/lib/form" xmlns:i="jelly:fmt">
- <t:summary icon="/plugin/git/icons/git-48x48.png">
+ <t:summary icon="${resURL}/plugin/git/icons/git-48x48.png">
Seiji Sogabe Collaborator
ssogabe added a note

Git icon missing on Tomcat. See https://issues.jenkins-ci.org/browse/JENKINS-13413
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
<b>Revision</b>: ${it.lastBuiltRevision.sha1.name()}
<j:if test="${it.scmName}"> from <b>SCM:</b> ${it.scmName}</j:if>
Please sign in to comment.
Something went wrong with that request. Please try again.