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

Unauthenticated REST API requests cause jobConfigHistory to throw HTTP 503 error

    XMLWordPrintable

    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

          cfs Charles Stephens created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 155083 ] JNJira + In-Review [ 195130 ]

            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: