Question about Maven "Build modules in parallel" setting

37 views
Skip to first unread message

David Alayachew

unread,
Sep 23, 2025, 9:35:14 AM (8 days ago) Sep 23
to jenkins...@googlegroups.com
Hello Jenkins Team,

I have a GitHub repo with a Maven project with over 50 sub-modules, all in the same repo. All of those sub-modules are under a single aggregate pom file.

I created a single Maven job pointed to the aggregate pom, and on the first run, all sub-modules were discovered as expected.

Now, I want these jobs to build in parallel. So, I checked the checkbox that says "Build modules in parallel".

But when I looked at the nodes used, all of the builds occurred on a single node, even though there are many other nodes available. And to be clear, it was using all executors of that node, but still limiting itself to a single node.

So, that meant that, even though the queue had 40+ jobs queued up, once all the executors on that single node were occupied, it didn't matter if any of the other nodes were free, no work would be picked up by them.

On a second attempt, a different node was used, but the same behaviour -- all sub-modules only executed on this second node.

Is this behaviour overridable? Or am I potentially doing things wrong? Again, I am only using the Jenkins Maven Job, not a Jenkinsfile or anything like that.

And as a workaround, I could just make a new Maven Job for each Maven sub-module. Doing it this way, now I do actually run on many free nodes.

But that has the downside of increasing the maintenance burden immensely. Remember, I have over 50 sub-modules. If I need to add new functionality, that's 50 Jenkins jobs that I need to update. Not ideal at all.

Thank you for your time and help.

muni bhasker

unread,
Sep 24, 2025, 11:41:55 AM (7 days ago) Sep 24
to jenkins...@googlegroups.com
Hi 

You have slack group so I cloud join.


Thank you 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-users/CAA9v-_M1Ex2E%2Bn2MGwH6RfT3ek0T23QX6VyQKcmRfbUhJ6N79w%40mail.gmail.com.

David Alayachew

unread,
Sep 24, 2025, 12:48:39 PM (7 days ago) Sep 24
to jenkins...@googlegroups.com
Hello,

I do not understand your question. What do you mean by Slack group? I do not know of any Slack group, so if there is one, I cannot grant you access to it.

If you are asking about having the ability to join this google groups discussion, it appears that you have already successfully done so.

Reply all
Reply to author
Forward
0 new messages