the groovy script starts with
node {
stage("Checkout"){
echo "git checkout"
checkout changelog: false, poll: false, scm: [
This groovy script should checkout a java project and run some maven commands on it.
Error:
java.lang.NoSuchMethodError: No such DSL method 'node' found among steps...
This used to work before some changes, but I couldn't say what what altered.
Current version is 2.147
I found it might be a Jenkins plugin issue but nothing more
It may be a blind shot here, but I would check Nodes and Processes plugin configuration in Jenkins (is plugin enabled? is plugin installed?). Also I would check if other steps which are part of this plugin like sh are working as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With