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

Bitbucket merge builds fail fetching git repo

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          tzach_solomon Tzach Solomon added a comment -

          André Pacheco Neves are you sure the plugin bitbucket-plugin is the correct one?

          Show
          tzach_solomon Tzach Solomon added a comment - André Pacheco Neves are you sure the plugin bitbucket-plugin is the correct one?
          Hide
          apneves 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.

          Show
          apneves 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.
          Hide
          apneves André Pacheco Neves added a comment - - edited

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

          (Jenkins v2.222.1)

          Show
          apneves André Pacheco Neves added a comment - - edited Confirmed to be working with bitbucket-branch-source-plugin v2.7.0 (Jenkins v2.222.1)
          Hide
          tzach_solomon Tzach Solomon added a comment -

          Thanks André Pacheco Neves and thanks contacting back

          Show
          tzach_solomon Tzach Solomon added a comment - Thanks André Pacheco Neves and thanks contacting back

            People

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

              Dates

              • Created:
                Updated:
                Resolved: