Allow Bitbucket Pipelines pull-request builds to honour clone depth

XMLWordPrintable


      Currently, pull-request pipelines always perform a full git clone and ignore the clone: depth setting in bitbucket-pipelines.yml.
      This is because the PR build merges the destination branch into the source branch, which needs history back to the merge base.

      Suggestion:

      A built-in option for PR builds to avoid the full clone — either by honouring the configured clone depth, or by dynamically calculating the required depth from the merge base and fetching only the commits needed for the merge.

              Assignee:
              Unassigned
              Reporter:
              Suyog Rajendra Deshpande
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: