Why are already approved signatures require to be approved again?

Article ID:360031940852
1 minute readKnowledge base

Issue

We can see that already approved signatures are showing up as pending approval in the In-process script approval page. While running the jobs, we can see a message like the one shown below:

Scripts not permitted to use staticMethod XXX XXX. Administrators can decide whether to approve or reject this signature.

The job runs successfully, but the signature shows up again to be approved in the In-process script approval page.

Resolution

This is a side effect of JENKINS-57171, which is related to Permissive Script Security Plugin and will impact your instance even if you are not explicitly using the plugin.

The solution is either disable the plugin, or to upgrade it to at least version 0.5.