Skip to content

Commit ef682b2

Browse files
authored
[JENKINS-67978] Fix for job parameters on built-in node (#232)
1 parent 053d799 commit ef682b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/hudson/plugins/throttleconcurrents/ThrottleQueueTaskDispatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ private boolean isAnotherBuildWithSameParametersRunningOnNode(Node node, Queue.I
340340
// whether one of these executing units is an instance
341341
// of the queued item we were asked to compare to.
342342
if (computer != null) {
343-
for (Executor exec : computer.getExecutors()) {
343+
for (Executor exec : computer.getAllExecutors()) {
344344
// TODO: refactor into a nameEquals helper method
345345
final Queue.Executable currentExecutable = exec.getCurrentExecutable();
346346
final SubTask parentTask = currentExecutable != null ? currentExecutable.getParent() : null;

0 commit comments

Comments
 (0)