Details
-
Type:
New Feature
-
Status: Reopened (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: plugin-proposals
-
Labels:None
-
Environment:Jenkins 1.642
github-branch-source-plugin:1.7
github-organization-folder-plugin:1.3
-
Similar Issues:
Description
Issue
When a node label does not exists, the build hangs in the queue until a node is assigned to that label. In that case I would like my build to fail. It would be great to have such option and also the possibility to apply it with GitHub Organization.
How to Reproduce
node ('thislabeldoesnotexists') { echo "This could be improved" }
This label does not exists in my Instance, the build hang in the queue and the console logs show:
> There are no nodes with the label ‘thislabeldoesnotexists’
Attachments
Issue Links
- is related to
-
JENKINS-41569 Pipeline hangs waiting for resume on an agent which never was
-
- Closed
-
-
JENKINS-40466 Developer wants to see a message when Jenkins is busy eg: execution is blocked waiting for a node
-
- Resolved
-
- links to
This option is a high valuable option for organizations using a main jenkins server handling jobs for various development and integration groups.
this way, a job waiting for execution would be automatically removed from the build queue after a pre-defined time for machine provisioning and the built queue will stay "clean". a notification with the reason should also be viewable in the console output of the execution (though it was not executed at all...).