Script:
def a = ["a", "b", "c", 3];
def b = a.find() { x -> x instanceof Integer };
println "$b";
In groovyConsole this prints 3 (as expected)
In workflow it prints 'false' ?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83QnBmKgDioVHvRKUiUF20LzYKkhZTcRW2qLnNPvxNeNbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.