Conditional Builds

Hi,

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.

Alex

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 :)

Thanks
James

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

443 views 0 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