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

Unauthenticated REST API requests cause jobConfigHistory to throw HTTP 503 error

    Details

    • Similar Issues:

      Description

      Unauthenticated (anonymous) REST API requests to jobControlHistory will cause a 503 HTTP error to be returned because the thrown org.acegisecurity.AccessDeniedException exception handler in Jenkins doesn't know that Stapler is in the middle of a serialization request.

      Instead of exposing getJobConfigs(), and getSlaveConfigs() methods, wrap them with REST equivalents and return an empty list object.

        Attachments

          Activity

            People

            • Assignee:
              cfs Charles Stephens
              Reporter:
              cfs Charles Stephens
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: