tigger a bamboo build only if there are VCS changes?

Hi,

 

We have as part of our entire product set, we have a dozen other applications that make the entire set.  When we build the primary app, we would like to trigger all the other app builds but only have it build if there are VCS changes.  This is different than trigger on a VCS change or even Repository triggers the build when changes are committed.

 

Is that possible?  I know this is possible with Teamcity but not sure on Bamboo.

1 answer

This widget could not be displayed.

Hello Lance Lyons,

Maybe, you could use the following URL with an script

http://localhost:8085/api/rest/updateAndBuild.action?buildKey=PROJ-PLAN

information Replace http://localhost:8085 with Base URL to your Bamboo instance

information Replace PROJ-PLAN with plan key you want to trigger

What the URL above does:

Basically, it will go through all plan branches in Bamboo (including the "master" plan) checking if there are changes in the repository and if finds it any, it will trigger a build against that branch.

Requirements:

  • You must set up a Remote Trigger in your Plan so it can accept request outside Bamboo
  • Requests must be originated from IPv4 (IPv6 will be rejected)

Kind regards,
Rafael P. Sperafico

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 3 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

14 views 0 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you