Home > OS >  How can I setup groovy script to dismiss that warnings
How can I setup groovy script to dismiss that warnings

Time:11-11

I want to setup groovy to dismiss all warnings. I found the posting to setup jenkins groovy for security warnings. But I did not find three ids of that warnings:

enter image description here

Have I to take another ways to dismiss that warnings?

CodePudding user response:

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

Those warnings are Administrative Monitor warnings.

Jenkins > Manage Jenkins > Configure System > Administrative monitors configuration. Click on the Administrative monitors button. (Example)

Disable any warnings with caution.

If using JCasC, you can add steps to disable.

You can achieve the same using groovy and groovy.init.

  • Related