我如何设置 groovy 脚本来消除该警告

How can I setup groovy script to dismiss that warnings

我想设置 groovy 以消除所有警告。我找到 posting 来设置 jenkins groovy 以获取安全警告。但是我没有找到那个警告的三个id:

enter image description here

我是否需要采取其他方法来消除该警告?

Please do not upload images of code/errors when asking a question..

这些警告是管理监视器警告。

Jenkins > 管理 Jenkins > 配置系统 > 管理监视器配置。单击 管理监视器 按钮。 (Example)

谨慎禁用任何警告。

如果使用JCasC,可以添加steps to disable.

您可以使用 groovy and groovy.init 实现相同的效果。