Re: Unable to use the "when" closure to skip a stage (pipeline-model-definition-plugin)

2017-02-09 Thread Roi Aldaag
Croy wrote: > > (replies inline) > > On Thu, 09 Feb 2017, Roi Aldaag wrote: > > > for a very simple pipeline in the inline pipeline editor (not in an > > external Jenkinsfile): > > > > *node {* > > * stage('1') { // for display purposes* &g

Unable to use the "when" closure to skip a stage (pipeline-model-definition-plugin)

2017-02-09 Thread Roi Aldaag
After updating the last pipeline plugin 2.5 and dependent plugins on latest Jenkins 2.45 we are unable to use the "when" closure: we get the following error: *java.lang.NoSuchMethodError: No such DSL method 'when' found among steps [...] at