OK:
After deciding to put this project aside and not look at it for a while I
came back to it and found out that I was being stupid. :-(
The constructor for the Notification class has two parameters not one and
in the heat of battle so to speak I forgot about the other one. Once I got
that straig
Apparently unclassified means the script approval process cannot be used:
https://jenkins.io/doc/book/managing/script-approval/
. As Jesse already mentioned in another thread
(https://stackoverflow.com/questions/33573568/sandbox-is-preventing-me-from-formatting-a-string)
it seems a bug in the
What does this mean and how do I fix it?
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException:
unclassified new com.att.ncs.actions.Notifications WorkflowScript
somewhere in this:
} catch (Throwable e) {
currentBuild.result = "FAILURE"
stage('squeal like
When using the scripted pipeline, I'm seemingly unable to pass closures
into methods, that then call those closures? Maybe my grasp of groovy and
jenkins is weak.
Full error:
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException:
unclassified method java.lang.String call java.la