"non-repeatable" pipeline option

Issue #15884 duplicate
אלון בר
created an issue


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

Comments (2)

  1. Aneita Yang staff

    Hi Alon,

    Thanks for reaching out and for the suggestion. I can see why this would be a useful feature to have.

    Issue #14692 is an open feature request that we have to avoid building the same commit multiple times, which sounds like what you're looking for. I encourage you to vote for / watch that ticket for updates if it is something that you're interested in.


  2. Log in to comment