-
Bug
-
Resolution: Unresolved
-
Major
-
None
When running an script in the scriptler interface, new Cause.UserIdCase().getUserName() returns the logged in user. When a script is called from a job the user is SYSTEM. It would seem preferable to add the UserIdCause to the GroovyScript object and make it available as a variable to the GroovyShell. Happy to contribute this change if it seems useful.
PR's are always welcome
But I'll need some more time to dig into it to see which usecases this is really solves