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

"non-repeatable" pipeline option

    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

      Hi,

      Currently when a default step is defined the same commit pushed to different branches triggers parallel pipeline execution (attached a screenshot, notice the times and the same commit hash).

      In many cases (such as testing and linting) this is just a waste of compute time. But, since it is true that some Pipelines steps are for sure needed to be executed, even multiple times, on the same commit, I would like to suggest a new pipeline feature:

      It would be really nice if there will be a 'non-repeatable' option of some sort which will indicate the a certain step does not need to be re-executed on the same commit if it already have.

      Maybe something like this:

      pipelines:
      default:

      • step:
        options:
      • non-repeatable <--- this is the suggestion
        caches:
      • node
        script:
      • yarn install
      • npm test

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            alon.r.bar Alon Bar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: