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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Is there a way to trigger the deploy step of a pipeline if the pullrequest is merged? Edited


we have created a pipeline which will run when a pull request is created. In this Pipeline we build a docker image and want to run some tests in it. So the build process will consume many build minutes. When the pipeline is finished we can merge the pull request. Now we have the problem. When we merge the pull request into the branch another pipeline will start running and will deploy the changes to our registry. But we don't want to build the images again. So the question is: Can we trigger the last step of the pull request pipeline if the pull request gets merged? Or can we share the image between the pipelines? I have thinked about pushing the image with the commit sha as tag to the registry in the pull request pipeline. But I don't know how to get the sha in the next pipeline dynamically to use the right image.

Thanks for youre help!

0 answers

Suggest an answer

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

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
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