steps {
systemGroovy {
systemGroovyCommand(readFileFromWorkspace('WorkspaceLocker.groovy')){
}
bindings()
classpath()
}
}
ERROR: (script, line 30) No signature of method: javaposse.jobdsl.plugin.structs.DescribableContext.bindings() is applicable for argument types: () values: [] Possible solutions: find(), findAll()
I'm new to groovy (more familiar with Java), so if anyone can shade some light on reasons of this failure - I appreciate it.
Note: my Jenkins version is 2.32.3
Thank you for any help
steps {
systemGroovyCommand(readFileFromWorkspace('WorkspaceLocker.groovy')){
binding('test','value')
classpath()
}
}