Bamboo Generic Build Plan

I have very many small projects(~100) which I wish to use bamboo to build and deploy to nexus. Rather than creating 100+ build plans in bamboo is there a way for one build plan to monitor our single source repository(say git) detect changes in one of these projects(generally just one file), checkout this one file and run a generic script on this project?

If this is not possible is there a means of programmatically generating these build plans rather than using the bamboo gui

Answers


One way is to use either maven or gradle to run all your tests and upload the archives for you. Assuming your child programs are Foo, Bar

In gradle - Example - http://www.gradle.org/docs/current/userguide/multi_project_builds.html

======== GRADLE

At the root define build.gradle which holds your dependencies, define settings.gradle and just have the following line

include 'Foo', 'Bar'

For your child projects - they can optionally have their own build.gradle scripts

======== MAVEN

In maven - Example - http://books.sonatype.com/mvnex-book/reference/multimodule.html

You declare a simple parent at the root and then define modules like so

<modules>
    <module>Foo</module>
    <module>Bar</module>
</modules>

For each of your program you define your pom and identify using <artifactId>Foo</artifactId>


Need Your Help

Eclipse source folder not recognized

java eclipse file-io

I would like to create a separate folder for my resources in a Java project. How, in the name of God do I achieve such a simple thing ? I have been trying to get it to work for quite some time now ...

Removing done button in media picker

iphone objective-c mpmediapickercontroller

In my app I am using media picker when I click on a button media picker will appear. After selecting the required song I have to press done button to dismiss that picker view.