I have previously accessed build parameters the following way:
def upstreamNoVerify = false
if (getBinding().hasVariable("PARAM")) {
    upstreamNoVerify = Boolean.parseBoolean(PARAM)
}

This no longer works and I had to change it to:
final def upstreamNoVerify = Boolean.parseBoolean(PARAM)

I am beginning to get frustrated by this constant changes that breaks 
previous behaviour. I have read the changelog of plugins and Jenkins and 
could not find that this behaviour has been changed in any way. Jenkins 
could learn from Gradle and have a list of "Potential breaking changes" for 
every version.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6c0c739b-91ce-4d94-b174-3f8fcf4b4519%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to