-
Improvement
-
Resolution: Cannot Reproduce
-
Blocker
-
Master : Windows, Nodes : Linux
The description summary the problem. When there is "Run conditional step" then build on one node is waiting for the build on the other node complete, even though the project is configured for parallel builds.
[JENKINS-13705] Builds are sequential when there is a "Run conditional step" build step, even though the project is configured for concurrent execution
Description |
Original:
The reason for making "Invoke Maven Target" build step is not parallel may be because two concurrent maven calls can corrupt the repository. But when the two builds are happening on different nodes then jenkins should allow them. I am using nodelableparam to select different nodes, throttle Concurrent Builds configured to have 'Maximum Concurrent Builds Per Node' as 1. Attached the project files. In sleep.xml, update <host:port> with proper values |
New:
The reason for making "Invoke Maven Target" build step not parallel, may be because two concurrent maven calls can corrupt the repository. But when the two builds are happening on different nodes then jenkins should run them in parallel. I am using nodelableparam to select different nodes, throttle Concurrent Builds configured to have 'Maximum Concurrent Builds Per Node' as 1. Attached the project files. In sleep.xml, update <host:port> with proper values |
Component/s | New: run-condition [ 16129 ] | |
Component/s | Original: core [ 15593 ] | |
Description |
Original:
The reason for making "Invoke Maven Target" build step not parallel, may be because two concurrent maven calls can corrupt the repository. But when the two builds are happening on different nodes then jenkins should run them in parallel. I am using nodelableparam to select different nodes, throttle Concurrent Builds configured to have 'Maximum Concurrent Builds Per Node' as 1. Attached the project files. In sleep.xml, update <host:port> with proper values |
New: The description summary the problem. When there is "Run conditional step" then build on one node is waiting for the build on the other node complete, even though the project is configured for parallel builds. |
Labels | Original: concurrent-build | New: parallel run-condition |
Summary | Original: Builds are sequential when there is a "Invoke Maven Target" build step, even though the project is configured for concurrent execution | New: Builds are sequential when there is a "Run conditional step" build step, even though the project is configured for concurrent execution |
Component/s | New: conditional-buildstep [ 15947 ] |
Resolution | New: Cannot Reproduce [ 5 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: Dominik Bartholdi [ imod ] |
Workflow | Original: JNJira [ 144172 ] | New: JNJira + In-Review [ 190947 ] |
I'm not able to reproduce this. I tested it with a simple job only holding conditional buildsteps (single and multiple) - (within the conditions a shell step with "sleep 20" is executed). As long as there are more executors available, multiple executions are trigged in parallel.
The only reason for the described behaviour to happen I can think of, is when there is a build step within the condition that causes it. Please test which of the steps in your scenario this could cause and feel free to reopen this issue.