Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Manual triggering pipeline from the step I want

Sena Turku Cakmak September 11, 2024

Hello Community,

I have couple of questions:

  1. Is it possible to trigger a certain step in bitbucket whenever I want, without running the whole pipeline?
  2.  If I have 2 steps parallel to each other and one of them has manual trigger setup, and then the pipeline continues with sequential steps, , is it possible to make pipeline keep running the next steps without triggering that manual step? 

 

Thanks in advance,

Sena

2 answers

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2024

Hi @Sena Turku Cakmak ,

You can probably use variables in a custom pipeline to control the steps you want to skip.

You might also want to check out Flowie, a Bitbucket addon we provide, that adds a lot of flexibility for pipelines, such as support for triggering pipelines with different events, in parallel, based on conditions, and pre-defined values for variables.

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2024

Hey @Sena Turku Cakmak ,

thanks for reaching out to Community!

Let me respond to your questions individually for better clarity:

  1. Is it possible to trigger a certain step in bitbucket whenever I want, without running the whole pipeline?

Unfortunately, it's not possible to trigger a single step only, the whole pipelines will be executed when it is triggered. However, you can have a pipeline defined with a single step, so once you trigger the pipeline, that single step will be executed. That might be an option  depending on your use-case.

If I have 2 steps parallel to each other and one of them has manual trigger setup, and then the pipeline continues with sequential steps, , is it possible to make pipeline keep running the next steps without triggering that manual step? 

The pipeline will continue to the sequential steps only after all the steps in the parallel block have been completed. In you example, only after the manual step is triggered and complete, the rest of sequential steps will be executed.

I hope that helps! Should you have any questions, please let us know!

Thank you, @Sena Turku Cakmak !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events