-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 1.642
github-branch-source-plugin:1.7
github-organization-folder-plugin:1.3
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’
- 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
[JENKINS-35905] Add option to Fail the build if node label does not exist or if it cannot be provisioned within a timeout
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 172525 ] | New: JNJira + In-Review [ 199274 ] |
Component/s | New: pipeline-general [ 21692 ] |
Component/s | Original: workflow-plugin [ 18820 ] |
Summary | Original: Fail the build if node label does not exist. | New: Add option to Fail the build if node label does not exist or if it cannot be provisioned within a timeout |
Issue Type | Original: Improvement [ 4 ] | New: New Feature [ 2 ] |
Assignee | Original: Jesse Glick [ jglick ] | |
Resolution | Original: Won't Fix [ 2 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Be careful that nodes might be provisioned dynamically (e.g. from AWS or OpenStack) and it takes few minutes to appear in label (if not already started).