I see Jenkins 2.3 Changelog mention compatibility issues, but my script didn't stop working until a much later Jenkins version. Not sure which, but I think it was after 2.18->2.22. I patched my script September 13th, the day after updating Jenkins to 2.22. Prior to that I have been running with Jenkins 2.17.
Other compatibility issues I experienced after this update:
Access methods such as keySet() that threw java.io.NotSerializableException: java.util.LinkedHashMap$LinkedKeySet. It previously worked, but now I had to put it within a method using @NonCPS.
Because "list.each { value -> }" closure never worked in Groovy Pipeline, I have been using "for (def value : list)", but after an update that stopped working and I have to use a regular forEach "for (int i = 0; i<list.size();i++)".
In what way? Am I accessing my defined boolean build parameter in a wrong way?
Because of Jenkins 2.3 compatibility issues with SECURITY-170, the parameter is declared for the multibranch pipeline project in the pipeline script.
properties([[$class: 'ParametersDefinitionProperty', parameterDefinitions: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: 'DESC', name: 'PARAM']]]])