Peter Kahn
Peter Kahn

Reputation: 13026

How do you split mvn reactor into groups of module build by different jenkins jobs?

To make the most out of a build server's ability to run jobs in parallel

a) split maven lifecycle phases across bamboo stages (Build -> Test -> Deploy) b) split each stage into parallel jobs

I know how to split phases in segments: BUILD: mvn clean deploy -DskipTests TESTS: mvn surefire:test failsafe:test

I don't know how to split across jobs where modules which could be run in parallel are processed by different jenkins 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.

Desired

Do you know of a plugin or cmdline option for this?

Thanks

Peter

Upvotes: 0

Views: 316

Answers (0)

Related Questions