Boolean custom field returns True value while Groovy expect true
arielma2304
Registered Posts: 47 ✭✭✭✭
Hi
I created custom field from type Boolean, and I see the returned value is True or False. However, when I'm trying to use this variable in my JenkinsFile (from type: groovy), it doesn't works as groovy Boolean type holds the values: true or false.
do you plan to support it?
Tagged:
Best Answer
-
I think issue can be closed as its more related to Groovy rather than DSS. anyway, to solve it, I used ReturnSdtout which return type STRING of "True" of "False" per the Boolean value of the custom field.