When configuring Jenkins Bitbucket plugin to build "Both the current pull request revision and the pull request merged with the current target branch revision", the -head build starts successfully, but the -merge build fails when fetching the source from git. 

      I've attached both logs (head and merge), and simply redacted some sensitive information from them, like team name, repo name and branch name, and have surrounded it with <>.

      We're using Bitbucket Cloud.

          [JENKINS-49479] Bitbucket merge builds fail fetching git repo

          André Pacheco Neves created issue -
          André Pacheco Neves made changes -
          Description Original: When configuring Jenkins Bitbucket plugin to build "Both the current pull request revision and the pull request merged with the current target branch revision", the -head build starts successfully, but the -merge build fails when fetching the source from git.

           

          We're using Bitbucket Cloud

           

          I've attached both logs (head and merge), and simply redacted some sensitive information from them, like team name, repo name and branch name, and have surrounded it with <>.
          New: When configuring Jenkins Bitbucket plugin to build "Both the current pull request revision and the pull request merged with the current target branch revision", the -head build starts successfully, but the -merge build fails when fetching the source from git. 

          I've attached both logs (head and merge), and simply redacted some sensitive information from them, like team name, repo name and branch name, and have surrounded it with <>.

          We're using Bitbucket Cloud.
          André Pacheco Neves made changes -
          Attachment Original: merge-log.txt [ 41410 ]
          André Pacheco Neves made changes -
          Attachment Original: head-log.txt [ 41411 ]
          André Pacheco Neves made changes -
          Attachment New: merge-log.txt [ 41412 ]
          Attachment New: head-log.txt [ 41413 ]
          Vivek Pandey made changes -
          Labels Original: bitbucket bitbucket-branch-source-plugin git New: bitbucket bitbucket-branch-source-plugin git triaged-2018-11

          Tzach Solomon added a comment -

          apneves are you sure the plugin bitbucket-plugin is the correct one?

          Tzach Solomon added a comment - apneves are you sure the plugin bitbucket-plugin is the correct one?

          André Pacheco Neves added a comment - - edited

          hi tzach_solomon

          I think you're right - the correct plugin is in fact bitbucket-branch-source-plugin.

          I haven't touched this in a while now (2 years ) , but I've since tried again and it now appears to be working (bitbucket-branch-source-plugin 2.7.0). 

          Will close this issue.

          André Pacheco Neves added a comment - - edited hi tzach_solomon I think you're right - the correct plugin is in fact bitbucket-branch-source-plugin. I haven't touched this in a while now (2 years ) , but I've since tried again and it now appears to be working (bitbucket-branch-source-plugin 2.7.0).  Will close this issue.

          André Pacheco Neves added a comment - - edited

          Confirmed to be working with bitbucket-branch-source-plugin v2.7.0

          (Jenkins v2.222.1)

          André Pacheco Neves added a comment - - edited Confirmed to be working with bitbucket-branch-source-plugin v2.7.0 (Jenkins v2.222.1)
          André Pacheco Neves made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            apneves André Pacheco Neves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: