groovy.lang.MissingPropertyException: No such property: jenkins for class: groovy.lang.Binding

前端 未结 4 1215
北恋
北恋 2020-12-16 14:37

We\'re upgrading to a newer version of Jenkins (2.60.1) and a groovy script which was working in the previous Jenkins version (1.596/2) no longer works.

This is a Je

4条回答
  •  借酒劲吻你
    2020-12-16 14:57

    Please double check that jenkins is not blocking this import. Go to script approvals and check to see if it is blocking it. If it is click allow.

    https://jenkins.io/doc/book/managing/script-approval/

提交回复
热议问题