Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13977

Build resulting from merge of pull request with "close branch" ticked fails

    XMLWordPrintable

Details

    Description

      If you create a pull request and tick the "close branch" feature and then merge the branch. The resulting pipeline build will fail while attempting to clone the repo.

      This is because the clone command explictly mentions the now deleted branch: git clone --branch="feature/branch" ...

      I can understand why it's being done... but it might be better to try and do the shallow clone of the branch, or if that fails do a full clone and checkout of the correct commit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            8e7b251164cd Hansel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: