During a pipeline declarative script the method User.current().getId() should return the Logged In User Id, but it always returns the string SYSTEM. It is a common issue that you can find in internet forums
- blocks
-
JENKINS-14605 Simple means to obtain logged in user's id
- Resolved