DEV Community

Discussion on: Centralise Jenkins Pipelines configuration using Shared Libraries

Collapse
 
eyaldavid profile image
Eyal David

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

Collapse
 
jalogut profile image
Juan Alonso • Edited

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 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.