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 a pig'){
notify= new Notifications(this)
notify.notifyFailed()
}
workrepo.cleanup()
throw e
seems to be the issue.
Thoughts? 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 Script security plugin. Can you raise a jira ticket with all those details? The more details the better to help to diagnose what's going on.Cheers
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e4172d1c-29af-4609-adab-567b18f29f3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.