-
Bug
-
Resolution: Unresolved
-
Minor
-
None
org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException: script not yet approved for use*10:39:55* at org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval.using(ScriptApproval.java:466)10:39:55 at org.jenkinsci.plugins.scriptsecurity.scripts.ScriptApproval$using$0.call(Unknown Source)10:39:55 at com.splunk.splunkjenkins.UserActionDSL.perform(UserActionDSL.groovy:41)10:39:55 at com.splunk.splunkjenkins.listeners.LoggingRunListener.onCompleted(LoggingRunListener.java:85)10:39:55 at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)10:39:55 at hudson.model.Run.execute(Run.java:1864)10:39:55 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)10:39:55 at hudson.model.ResourceController.execute(ResourceController.java:97)10:39:55 at hudson.model.Executor.run(Executor.java:429)
This exception is being thrown and logged at the end of every jenkins job invocation on our server, even jobs that have 0 groovy scripts in them.
Because the exception is thrown at the end of the job and appears as the last thing in the log, save for perhaps the line saying it has FAILED, this causes developers to assume that the exception is the cause of the build failure when it actually doesn't cause anything to break.
There are no unapproved script or method invocations in the script approval page.