while executing the testcase am getting MissingMethodException.
groovy.lang.MissingMethodException: No signature of method: jenkinspipeline.node() is applicable for argument types: (org.codehaus.groovy.runtime.GStringImpl, jenkinspipeline$_call_closure2) values: [testworker, jenkinspipeline$_call_closure2@6d6bc158]
Possible solutions: notify(), wait(), run(), call(), run(), any()
Following is the testcase using spock
my jenkinsfile having a node method with Gstring.
while executing the testcase am getting MissingMethodException.