-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: pipeline-model-definition-plugin
-
None
Description:
When the label is defined in the agent block with `null`, the pipeline continues to run successfully using agents or nodes for another defined label.Â
Expected behaviour:
Pipeline should fail throwing an exception when null label value is used.
Example
//.. pipeline {   agent {     label null   } //.. }
Â
Environment:
Jenkins 2.426.3
Â