提交 d6beb58a 编写于 作者: K Kohsuke Kawaguchi

Jenkins can act as Hudson 1.395 but it shouldn't advertise itself as a newer version of Hudson

上级 d6dbc12d
......@@ -24,7 +24,7 @@ THE SOFTWARE.
<st:compress 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">
<j:if test="${request.servletPath=='/' || request.servletPath==''}">
<st:header name="X-Hudson" value="${servletContext.getAttribute('version')}" />
<st:header name="X-Hudson" value="1.395" />
<st:header name="X-Jenkins" value="${servletContext.getAttribute('version')}" />
<j:if test="${app.tcpSlaveAgentListener!=null}">
<!-- advertise the CLI TCP port -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册