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
          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: