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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Multiple manual steps available in parallel

HI, we are trying to have a pipeline that would look like the following:

pipelines:

   default:

      - parallel:

         - step:

            name: Deploy to destination A

            trigger: manual

            script:

               - cp binary /a

         - step:

            name: Deploy to destination B

            trigger: manual

            script:

               - cp binary /b

Essentially, we want to be able independently trigger deployment step.

This is easily achievable in GitlabCI through sharing a stage and having a manual trigger for steps.

I can't seem to find the way to achieve this in bitbucket pipelines.

1 answer

0 votes

Hi Alex and welcome to the community.

I'm afraid that at the moment this is not possible.

An alternative suggestion I can make, until this is implemented, would be to use custom pipelines instead of parallel.

The yml file would then look like that:

pipelines:
  custom:
    deploy-to-a:
      - step:
          script:
            - cp binary /a
    deploy-to-b:
      - step:
          script:
            - cp binary /b

This way you can open a commit in Bitbucket UI, select Run pipeline and then the custom build you want to run. Is this something that would work for you?

The difference with this approach though is that a separate build will run for each manual trigger, while with parallel, all parallel steps are part of the same build.

We have a feature request for what you are asking in our issue tracker:

I would suggest adding your vote there (by selecting the Vote for this issue link), as the number of votes helps the development team and product managers better understand the demand for new features. You can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates. When there is an update, it will be posted in this public ticket.

Please note though that we don't provide ETAs and implementation of new features is done as per our policy here: https://confluence.atlassian.com/cloud/new-features-744721668.html.

Please feel free to let me know if you have any other questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

103 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you