-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Blocker
-
Component/s: nodelabelparameter-plugin, pipeline-build-step-plugin
-
None
We are uanble to get value of the label parameter as variable when used in the jenkins pipelineĀ
Here we are declaring TEST_CLIENT as the label parameter in jenkins. When we try to use it the value of label parameter is null in the parameterĀ
using it asĀ
pipeline {
agent {
node
}
Ā
When trying to echo the value of Label Parameter is null using env and params
========================================
env.TEST_CLIENT: class org.codehaus.groovy.runtime.NullObject
[Pipeline] echo
params.TEST_CLIENT: class org.codehaus.groovy.runtime.NullObject
- duplicates
-
JENKINS-43720 NodeLabel parameters are null objects in pipeline script params
-
- Open
-