Re: Jenkins Pipeline Error

2020-05-08 Thread Gajanan Mahajan
when directive is to execute if stage should be executed or not. You might have when directive at wrong place. Please refer to document for more details - -https://www.jenkins.io/doc/book/pipeline/syntax/#when On Fri, May 8, 2020 at 5:40 PM MANISH JOSHI wrote: > Please help out > >

Jenkins Pipeline Error

2020-05-08 Thread MANISH JOSHI
Please help out java.lang.NoSuchMethodError: No such DSL method 'when' found among steps [archive, bat, build, catchError, checkout, deleteDir, dir, dockerFingerprintFrom, dockerFingerprintRun, echo, emailext, emailextrecipients, envVarsForTool, error, fileExists, findBuildScans,