mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
Expose session ID.
This value changes every time Jenkins starts, which allows HTTP clients to reliably wait for Jenkins restart.
This commit is contained in:
1 parent
a3e57dafab
commit
4bd0696347
1 file changed
+1
@@ -80,6 +80,7 @@ THE SOFTWARE.
|
||||
<j:if test="${request.servletPath=='/' || request.servletPath==''}">
|
||||
<st:header name="X-Hudson" value="1.395"/>
|
||||
<st:header name="X-Jenkins" value="${servletContext.getAttribute('version')}"/>
|
||||
<st:header name="X-Jenkins-Session" value="${app.SESSION_HASH}"/>
|
||||
<j:if test="${app.tcpSlaveAgentListener!=null}">
|
||||
<!-- advertise the CLI TCP port -->
|
||||
<st:header name="X-Hudson-CLI-Port" value="${app.tcpSlaveAgentListener.port}"/>
|
||||
|
||||
Reference in new issue
Block a user