Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34254

Shutdown of jenkins via the /exit URL doesn't work in 2.0 b/c of 403

      1) Start jenkins from WAR, giving a JENKINS_HOME directory
      2) Install initial plugins and create an admin user (probably not needed), then restart and log in
      3) Try to exit jenkins the "right" way by visiting http://localhost:8080/exit
      4) Click the "try POST" button
      5) See attached 403 error message:

          [JENKINS-34254] Shutdown of jenkins via the /exit URL doesn't work in 2.0 b/c of 403

          Sam Van Oort created issue -
          Sam Van Oort made changes -
          Description Original: 1) Start jenkins from WAR, giving a JENKINS_HOME directory
          2) Install initial plugins and create an admin user (probably not needed)
          3) Try to exit jenkins the "right" way by visiting http://localhost:8080/exit
          4) Click the "try POST" button
          5) See attached 403 error message:

          !Screen Shot 2016-04-14 at 3.11.15 PM.png|thumbnail!
          New: 1) Start jenkins from WAR, giving a JENKINS_HOME directory
          2) Install initial plugins and create an admin user (probably not needed), then restart and log in
          3) Try to exit jenkins the "right" way by visiting http://localhost:8080/exit
          4) Click the "try POST" button
          5) See attached 403 error message:

          !Screen Shot 2016-04-14 at 3.11.15 PM.png|thumbnail!
          Summary Original: Shutdown of jenkins via the /exit URL doesn't work in 2.0 due to crumb issue New: Shutdown of jenkins via the /exit URL doesn't work in 2.0 b/c of 403
          Spike Washburn made changes -
          Assignee New: Keith Zantow [ kzantow ]
          Spike Washburn made changes -
          Labels Original: 2.0 2.0-rc testfest New: 2.0 2.0-planned 2.0-rc testfest
          Keith Zantow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Keith Zantow made changes -
          Remote Link New: This issue links to "PR 2268 (Web Link)" [ 14210 ]
          Daniel Beck made changes -
          Labels Original: 2.0 2.0-planned 2.0-rc testfest New: 2.0 2.0-rc testfest
          Keith Zantow made changes -
          Remote Link New: This issue links to "Stapler PR 73 (Web Link)" [ 14244 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170316 ] New: JNJira + In-Review [ 185721 ]
          Keith Zantow made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-38954 [ JENKINS-38954 ]

            danielbeck Daniel Beck
            svanoort Sam Van Oort
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: