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

Unauthenticated REST API requests cause jobConfigHistory to throw HTTP 503 error

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: