Kirsten
Kirsten

Reputation: 18170

Why can't I save a pipeline without running it?

When I am midway through creating a pipeline I might want to save it without running it.

However there is no "save only" button. Why not?

Save and Run

Upvotes: 1

Views: 1196

Answers (1)

Shayki Abramczyk
Shayki Abramczyk

Reputation: 41745

I think the reason is that because the YAML pipelines it's a .yaml file in your repository, that triggered when the repo changed. so when you create a new pipeline, the .yaml file it's pushed into the repo and immediately the pipeline triggered (like every repo change from now on).

You can change in the .yaml file the trigger to none and then you can only save:

trigger: none

Upvotes: 5

Related Questions