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

Azure DevOps service hooks Git Build fails to authorize.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • git-plugin
    • None

      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.  

            Unassigned Unassigned
            loviji Loviji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: