Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Object java.lang.String. Administrators can decide whether to approve or reject this signature.Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods getAt java.lang.Object java.lang.String. Administrators can decide whether to approve or reject this signature.
解决方法一
安装Permissive Script Security Plugin
插件,启动Jenkins时加参数 -Dpermissive-script-security.enabled=true
,再运行就不会报错了
解决方法二