Unauthenticated REST API requests cause jobConfigHistory to throw HTTP 503 error

This issue is archived. You can view it, but you can't modify it. Learn more

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.

            Assignee:
            Charles Stephens
            Reporter:
            Charles Stephens
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: