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

Merging on BitBucket doesn't work after upgrade of BitBucket from 6.3 to 7.7

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Red Hat Enterprise Linux Server release 7.8
      Java 1.8.0_202-b08
      Jenkins 2.263.3
      Stash Pullrequest Builder Plugin 1.17

      After upgrade of BitBucket from 6.3 to 7.7 merging on BitBucket no longer works:

       

      Cloning the remote Git repository
      Cloning repository https://XXX.git
       > git init /XXX # timeout=10
      Fetching upstream changes from https://XXX.git
       > git --version # timeout=10
       > git --version # 'git version 1.8.3.1'
      using GIT_ASKPASS to set credentials Technical user for tools accessing XXX in XXX
       > git fetch --tags --progress https://XXX.git +refs/heads/*:refs/remotes/origin/* # timeout=10
       > git config remote.origin.url https://XXX.git # timeout=10
       > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
       > git config remote.origin.url https://XXX.git # timeout=10
      Fetching upstream changes from https://XXX.git
      using GIT_ASKPASS to set credentials XXX
       > git fetch --tags --progress https://XXX.git +refs/heads/*:refs/remotes/origin/* +refs/pull-requests/*:refs/remotes/origin/pr/* # timeout=10
       > git rev-parse refs/remotes/origin/pr/10050/merge^{commit} # timeout=10
       > git rev-parse origin/pr/10050/merge^{commit} # timeout=10
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

      Local merging works.

       

       

          [JENKINS-64880] Merging on BitBucket doesn't work after upgrade of BitBucket from 6.3 to 7.7

          Michał Kochanowicz created issue -
          Michał Kochanowicz made changes -
          Description Original: After upgrade of BitBucket from 6.3 to 7.7 merging on BitBucket no longer works:

           
          {noformat}
          Cloning the remote Git repository
          Cloning repository https://XXX.git
           > git init /XXX # timeout=10
          Fetching upstream changes from https://XXX.git
           > git --version # timeout=10
           > git --version # 'git version 1.8.3.1'
          using GIT_ASKPASS to set credentials Technical user for tools accessing XXX in XXX
           > git fetch --tags --progress https://XXX.git +refs/heads/*:refs/remotes/origin/* # timeout=10
           > git config remote.origin.url https://XXX.git # timeout=10
           > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
           > git config remote.origin.url https://XXX.git # timeout=10
          Fetching upstream changes from https://bitbucket.pzu.pl:443/scm/pak/pak-frontend.git
          using GIT_ASKPASS to set credentials XXX
           > git fetch --tags --progress https://XXX.git +refs/heads/*:refs/remotes/origin/* +refs/pull-requests/*:refs/remotes/origin/pr/* # timeout=10
           > git rev-parse refs/remotes/origin/pr/10050/merge^{commit} # timeout=10
           > git rev-parse origin/pr/10050/merge^{commit} # timeout=10
          ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.{noformat}
          Local merging works.

           

           
          New: After upgrade of BitBucket from 6.3 to 7.7 merging on BitBucket no longer works:

           
          {noformat}
          Cloning the remote Git repository
          Cloning repository https://XXX.git
           > git init /XXX # timeout=10
          Fetching upstream changes from https://XXX.git
           > git --version # timeout=10
           > git --version # 'git version 1.8.3.1'
          using GIT_ASKPASS to set credentials Technical user for tools accessing XXX in XXX
           > git fetch --tags --progress https://XXX.git +refs/heads/*:refs/remotes/origin/* # timeout=10
           > git config remote.origin.url https://XXX.git # timeout=10
           > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
           > git config remote.origin.url https://XXX.git # timeout=10
          Fetching upstream changes from https://XXX.git
          using GIT_ASKPASS to set credentials XXX
           > git fetch --tags --progress https://XXX.git +refs/heads/*:refs/remotes/origin/* +refs/pull-requests/*:refs/remotes/origin/pr/* # timeout=10
           > git rev-parse refs/remotes/origin/pr/10050/merge^{commit} # timeout=10
           > git rev-parse origin/pr/10050/merge^{commit} # timeout=10
          ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.{noformat}
          Local merging works.

           

           
          Jakub Bochenski made changes -
          Link New: This issue duplicates JENKINS-63802 [ JENKINS-63802 ]
          Jakub Bochenski made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Michał Kochanowicz made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            jbochenski Jakub Bochenski
            mkochano Michał Kochanowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: