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

Error notifying commit build result on server 5.16.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Blocker Blocker
    • None
    • Jenkins 2.492.2 LTS via Docker container OpenJDK17 (jenkins/jenkins:2.492.2-lts-jdk17)

      Bitbucket Branch Source Plugin version 935.1.3

      Bitbucket Server v5.16.0

      Since commit 7ac886d (first released in 930.ve6a_885b_3558f) notifying builds hasn't worked with Bitbucket server 5.16.0. I have had to version lock this plugin to 922.va_71d0e0b_7b_8d as otherwise none of our pull requests can be merged.

       

      On version 935.1.3 I receive the following error:

       

      [Bitbucket] Notifying commit build result
      ERROR: Could not send notifications
      java.io.FileNotFoundException: URL: https://HOSTNAME/bitbucket/rest/api/1.0/projects/PROJECT/repos/REPONAME/commits/COMMITHASH/builds

       

      I assume the change introduced in 7ac886d is not compatible with this older version of Bitbucket server.

       

      The API docs for this version of Bitbucket are https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-build-rest.html and https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-rest.html 

       

      Any help would be appreciated, thank you

            nfalco Nikolas Falco
            oleandergravy Zac
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: