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

前端 未结 4 1208
北恋
北恋 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 15:19

    For me this problem occurred because I had a some invalid character in my Groovy script. In our case this was an extra blank line after the closing bracket of the script.

提交回复
热议问题