[JIRA] (JENKINS-59282) Concurrent build support

8 views
Skip to first unread message

anne.hartmann@email.de (JIRA)

unread,
Sep 9, 2019, 9:03:02 AM9/9/19
to jenkinsc...@googlegroups.com
Anne Hartmann created an issue
 
Jenkins / Improvement JENKINS-59282
Concurrent build support
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: deploy-plugin
Created: 2019-09-09 13:02
Environment: Jenkins Version 2.193, deploying to Tomcat 9, using Job DSL
Priority: Trivial Trivial
Reporter: Anne Hartmann

When I configure my build to do concurrent builds they perform right up to the end successfully, but then the later started one waits for the first started job to finish.
When the first one is finished deploying, the second job continues. It would be great, if there wasn't such a blocker of the concurrent build feature as we have many deployments to do and some more build processor slots available. Help greatly appreciated.

See also https://issues.jenkins-ci.org/browse/JENKINS-41771

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

anne.hartmann@email.de (JIRA)

unread,
Sep 23, 2019, 8:55:01 AM9/23/19
to jenkinsc...@googlegroups.com
Anne Hartmann updated an issue
Change By: Anne Hartmann
Priority: Trivial Minor

snoopi30@web.de (JIRA)

unread,
Sep 23, 2019, 4:56:03 PM9/23/19
to jenkinsc...@googlegroups.com
Robin Jansohn commented on Improvement JENKINS-59282
 
Re: Concurrent build support

I'm not sure I can follow. You want to deploy the same web application (just different builds) concurrently on one Tomcat? Is that even possible? What about race conditions (build #1 being deployed after build #2)?

anne.hartmann@email.de (JIRA)

unread,
Oct 14, 2019, 8:00:03 AM10/14/19
to jenkinsc...@googlegroups.com
Anne Hartmann commented on Improvement JENKINS-59282
 
Re: Concurrent build support

@Robin Jansohn: Our build process generates a .war file of a certain code-base and changes the application.properties and the name and other configuration values according to a number of params we pass to that job. So the result are multiple applications of the same 'program', and they do not overwrite themselves. This works fine. We use the deploy plugin to put the war over to tomcat manager to install it... I supposed that the call to tomcat manager could be done parallel, because it is a web request, too. But it turns out, when we run concurrent builds, the plugin holds the later job until the first job is finished deploying. Hope I explained to better now.

snoopi30@web.de (JIRA)

unread,
Oct 20, 2019, 3:16:04 PM10/20/19
to jenkinsc...@googlegroups.com
Robin Jansohn commented on Improvement JENKINS-59282
 
Re: Concurrent build support

Anne Hartmann while this seems to make sense for your special workflow/job configuration (which seems to be heavily parameterized), I still see the problems mentioned in my first comment for normal concurrent builds. My main concern is that I'm not sure what the side effects are if we try to deploy the same context in parallel.

If interest in this feature should increase we could think about adding an additional configuration option to switch between sequential and concurrent deployment. But as it currently stands this seems to be a very special edge case which IMHO does not merit a change of the plugin.

As a workaround I would suggest taking a look at the job DSL plugin to simply create individual jobs for every application you want to deploy in parallel. This would probably also improve the traceability of your build environment in general.

Reply all
Reply to author
Forward
0 new messages