Multiple manual steps available in parallel

Deleted user October 30, 2020

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2020

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
AUG Leaders

Atlassian Community Events