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

Configure whether step performs git clone

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      We don't need to perform a git clone of the repo at every single step of our pipeline, files we need between steps can be persisted with artifacts.

      I suggest you move the logic for the following into (b)ash functions:

      • git clone (int depth)
      • artifact restore (string step_name)

      that way users can run the clone or the artifact restore when and how they want.

      At the moment it's costing us 55secs for each step, when we only need it on one step per pipeline.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              zeno.jiricek ZenobiusJ
              Votes:
              59 Vote for this issue
              Watchers:
              43 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: