Details
-
Suggestion
-
Resolution: Duplicate
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