jenkinsci / jenkinsci/nodelabelparameter-plugin

[JENKINS-32939] When triggered by timer, Job with "NodeLabel Parameter Plugin" does not build in parallel on all nodes which share a label.

Open
#540 4 comments 0 reactions 0 assignees View on GitHub
component:nodelabelparameter-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
28
Forks
59
Avg merge
1h 24m
Merged PRs (30d)
3

Description

Hello,

I set up a job which is supposed to be build on all slave nodes sharing a label. I try to achieve this using the NodeLabel Parameter Plugin version 1.7.1.

I selected "Run on all nodes matching the label", and "Run regardless of result".

However, when I trigger the job by hand, it runs on all nodes matching the label. By when started by timmer, it only runs on a random node. The one node changes between iterations.

I include screenshots of my setup as attachments. Jenkins version is 1.643.

---
Originally reported by liangbo, imported from: When triggered by timer, Job with "NodeLabel Parameter Plugin" does not build in parallel on all nodes which share a label.


  • assignee: escoem
  • status: Open
  • priority: Major
  • component(s): nodelabelparameter-plugin
  • label(s): nodelabelparameter
  • resolution: Unresolved
  • votes: 3
  • watchers: 6
  • imported: 20251210-235911

Raw content of original issue

Hello,

I set up a job which is supposed to be build on all slave nodes sharing a label. I try to achieve this using the NodeLabel Parameter Plugin version 1.7.1.
I selected "Run on all nodes matching the label", and "Run regardless of result".

However, when I trigger the job by hand, it runs on all nodes matching the label. By when started by timmer, it only runs on a random node. The one node changes between iterations.

I include screenshots of my setup as attachments. Jenkins version is 1.643.

1 attachment

- [jenkins.png](https://issues.jenkins.io/secure/attachment/31852/jenkins.png)
> ![jenkins.png](https://issues.jenkins.io/secure/attachment/31852/jenkins.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the NodeLabel Parameter Plugin behavior with a timer-triggered job and the “Run on all nodes matching the label” setting on Jenkins 1.643. Compare it with the manual-trigger path and trace the plugin’s timer-related execution entry point. Done means timer-triggered builds run in parallel on every node sharing the selected label.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.