Azure DevOps service hooks Git Build fails to authorize.

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: git-plugin
    • Environment:

      I have installed Azure Devops Service hooks for Trigger Git Build. 
      No Azure DevOps(TFS) plugin installed in Jenkins.
      It works as expected, until I upgraded Jenkins to 2.387.1 version from 2.332.x Jenkins version.

      In Azure Devops it says:
      Triggers a build configured to use a Git repository using the Jenkins Git Plugin. Secure, HTTPS endpoints are recommended due to the potential for private data in the event payload.

      But when I test it from Azure devops it says in Http responce:
      Status Code: 401
      Reason Phrase: Unauthorized
      HTTP Version: 1.1
      Headers:

      {   Connection: keep-alive   X-Content-Type-Options: nosniff   Cache-Control: no-store, must-revalidate, no-cache   Date: Fri, 31 Mar 2023 11:15:16 GMT   Server: nginx/1.14.0   Server: (Ubuntu)   Content-Length: 925   Content-Type: text/html; charset=iso-8859-1 }

      Previous Git plugin version was 4.11.3

      I can provide additional information upon request.

      Thank you.  

            Assignee:
            Unassigned
            Reporter:
            Loviji
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: