-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Critical
-
Component/s: agent-loadbalance-plugin
in a larger jenkins installation projects can bring down jenkins by using a non-existing agent jenkins does keep the jobs despite. it would be great if jenkins could be configured to cancel such jobs with an error.
pipeline {
   // agent none to allow different agents for various steps
   agent none
   stages {
       stage('Build') {
           agent {
               label 'nonexisting'
           }
           steps {
Â
Â