-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 1.520
java.version 1.6.0_37
os.arch x86_64
os.name Mac OS X
os.version 10.7.5
Plugins:
openid 1.6
layout.jelly exposes a number of HTTP headers that the cli client uses:
X-Hudson-CLI-Port
X-Jenkins-CLI-Port
X-Jenkins-CLI2-Port
X-Jenkins-CLI-Host
Because HudsonAuthenticationEntryPoint doesn't use that layout when it serves a 403, the necessary HTTP headers are missing. If the redirection is external (as is the case with the openid plugin), it breaks CLI support completely.
I've implemented a potential fix here:
https://github.com/jenkinsci/jenkins/pull/836
[JENKINS-18634] HudsonAuthenticationEntryPoint can break CLI support, because the port isn't exposed properly
Labels | Original: cli jenkins plugin | New: cli jenkins lts-candidate plugin |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Labels | Original: cli jenkins lts-candidate plugin | New: 1.509.4-rejected cli jenkins plugin |
Workflow | Original: JNJira [ 149944 ] | New: JNJira + In-Review [ 193365 ] |