Bamboo trigger build based on Maven dependency

Hi,

Is it possible to trigger a build based on an update of a maven repository?

We have a project that produces a maven artifact and publishes it on a private maven repository. Then we have projects that have a maven dependency set to the artifact.

Right now, our build pipeline deploys the artifact to our private repository and triggers child build plans (that have a maven dependency on the artifact). This ensures that the artifact is present in the repository, and that the dependents rebuild with the new artifact

Ideally the deployment to our private repository should be done by a deployment project, in order to ease control of what's published on our private repository. So in order for the child build plans to build with the new version its needed to either trigger a build based on a deployment plan, or trigger a build based on a change in a maven repository. Is this possible at all?

Kind Regards,

Ewout.

1 answer

1 accepted

This widget could not be displayed.
Timothy Chin Community Champion Feb 11, 2015

You might want to consider triggering the build using the REST API (https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+Resources). This would be an example:

 

That seems to be an acceptable solution, accepted your answer. Too bad there aren't any triggers based on deployment though.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

198 views 1 3
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