Skip to content
Browse files

[FIXED JENKINS-17724] /about was not showing licenses.

A recent Stapler update caused the Jelly facet to ignore *.xml.
So need to use raw j:include (as plugins were doing), not st:include (as core did).
  • Loading branch information...
jglick committed Apr 23, 2013
1 parent 13461b9 commit 0bf434845b5de755d730fb73ae1688b02dba8894
@@ -57,6 +57,9 @@
<ul class=image>
<li class=rfe>
Can use <code>-Dhudson.udp=-1</code> to disable UDP broadcast without showing an ugly exception.
<li class=bug>
Third-party license display for core was broken since 1.506.
(<a href="">issue 17724</a>)
<li class=rfe>
<code>/about</code> now links to license information for plugins as well.
<li class=rfe>
@@ -1,6 +1,9 @@
package hudson;

import hudson.model.ManagementLink;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.NoExternalUse;

* Show "About Jenkins" link.
@@ -27,4 +30,10 @@ public String getDisplayName() {
public String getDescription() {
return Messages.AboutJenkins_Description();

public URL getLicensesURL() {
return AboutJenkins.class.getResource("/META-INF/licenses.xml");

@@ -35,9 +35,17 @@ THE SOFTWARE.
<st:include page="/META-INF/licenses.xml" optional="true" />
<j:set var="uri" value="${it.licensesURL}"/>
<j:when test="${uri != null}">
<j:include uri="${uri}"/>
<p>${%No information recorded}</p>
<j:forEach var="p" items="${app.pluginManager.plugins}"> <!-- XXX sort -->

0 comments on commit 0bf4348

Please sign in to comment.
You can’t perform that action at this time.