Jenkins: "Could not initialize class org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist"

Update:

An upgrade to Jenkins Version 2.213 fixes the issue.

Fix plugin class resource loading failures for plugins which include library JARs. At least the script-security and active-directory plugins are known to be affected. (regression in 2.112) (issue 60641, issue 60644)


Original answer:

It is a known issue (JENKINS-60644 and JENKINS-60641) with Script Security Plugin 1.68 and Jenkins 2.212.

It is adviced to downgrade to Jenkins 2.211.

WARNING: This release [2.212] introduces a critical regression, see JENKINS-60644. Please avoid updating to this version.


I do have a lot of similar error messages since the update to 2.212 and script security plugin 1.68. Downgrading the latter to 1.67 solved my issues for now.


V2.212 has regression and causing the described bug: https://issues.jenkins-ci.org/browse/JENKINS-60644 New version will be published soon fixing the issue.

Tags:

Jenkins