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

Trigger pipeline from another pipeline

Hi,

 

I have a Terraform project that I want to add a pipeline to trigger deploy from various other applications that have their own pipeline, for example:

  1. push terraform changes
  2. deploy changes after approval
  3. after terraform deploy is finished
    1. trigger project A deploy
    2. trigger project B deploy
    3. ...

What would be the best way to do something like that?

1 comment

Hi @fibrasek

Thank you for your question!

It's a good case for trigger-pipeline pipe:

script:
  - pipe: atlassian/trigger-pipeline:4.2.1
    variables:
      BITBUCKET_USERNAME: $BITBUCKET_USERNAME
      BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
      REPOSITORY: 'your-awesome-repo'

To discover more pipes, visit our Bitbucket Pipes Marketplace.

 

Cheers,
Oleksandr Kyrdan

Like Gabriel Bellon likes this

Thanks!

It's good to know that it's that easy!

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in DevOps

⭐ Calling all DevOps experts: Special showcase opportunity ⭐

Hi, DevOps community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hear m...

242 views 2 6
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