If you get this error, I would say that the library repo is working but it does not find the file standardPipeline.groovy. Can you re-check that your shared library is called standardPipeline.groovy and it is inside vars folder as in this example?
I also updated the post because I noticed some formatting issues. You might also want to review the "Jenkins Configuration" section to ensure that is correct.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi
im trying to run the sample from groovy sandbaox and got an error
java.lang.NoSuchMethodError: No such DSL method 'standardPipeline' found among steps
any idea here ?
Thanks
Hi David,
If you get this error, I would say that the library repo is working but it does not find the file
standardPipeline.groovy
. Can you re-check that your shared library is calledstandardPipeline.groovy
and it is insidevars
folder as in this example?I also updated the post because I noticed some formatting issues. You might also want to review the "Jenkins Configuration" section to ensure that is correct.