Conditional Builds


Sorry for the possibly vague and off topic question,

Our software is split into several different modules (split along language eg flash / perl / flex etc), although (at the moment) all in one git repo.

The modules change at different speeds, and take different lengths of time to build, but all produce rpms.

I'd like to change our bamboo setup to only build a module if the source for that changes (otherwise use the previously built rpm)

Is Maven the right tool for this job? Or Artifactory? Or both?!

Ideally we'd carry on using the branch triggered building and be able to mix and match the generated rpm artifacts to represent the state of the source in any branch without having to rebuild.

Any suggestions would be gratefully received.

Yours &c.


1 answer

Hi Alex,

If you split each module up so it can be built by different plans you can get them to build individually or in a dependant order.

Take for this example, you have two Modules - Module A and Module B.

If module B depends on module A, you can configure Dependency Blocking so that if Module B is run and its parent (in this case Module A) has changes, it will trigger a build of module A before triggering module B.

This will work even if you are using the same source repository.

Are you using Plan Branches to manage your branch builds? At the moment we do not support dependencies between branch builds but we are looking at adding support for Branch Dependecies in the next release of Bamboo.

Let me know if you have any follow up questions :)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

956 views 3 9
Read article

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