To make the most out of bamboo's stagesand jobs I want to
a) split maven lifecycle phases across bamboo stages (Build -> Test -> Deploy)
b) split each stage into parallel jobs
I know how to split phases and stages:
BUILD: mvn clean install -DskipTests
TESTS: mvn surefire:test failsafe:test
DEPLOY: mvn clean deploy -DskipTests (rebuild - yick)
I don't know how to split across jobs. I'd like something that allowed me to run maven with multiple threads to determine which projects should be in each thread or job so I could construct the command line for each thread.
mvn do-thing -T4
Generates cmdline1.XML thru 4.XML
Jobs 1thru 4 invoke mvn using the XML to extract proper cmdline
Do you know of a plugin or cmdline option for this?
Thanks
Peter