为什么我得到这个:
groovy.lang.MissingMethodException: No signature of method: Script1.node() is applicable for argument types: (java.lang.String, Script1$_run_closure1) values: [windows, Script1$_run_closure1@29abc862]
Possible solutions: notify(), wait(), run(), run(), grep(), find()
当我在Jenkins脚本控制台中运行此命令时:
node('windows') {
}