Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8799

Support POST redirects when sending webhook payloads

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: Webhook
    • Labels:

      Description

      Jenkins returns HTTP code "302 Temporary Redirect " when configured URL does not end with "/". Request to "http://jenkins" is redirected to "http://jenkins/".
      The HTTP client used when executing webhooks redirects POST with a GET request on purpose. See

      Webhook executor should handle 302/307/308 redirect codes so that a POST request in sent to the correct URL, but not a GET.

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: