| As already mentioned in the other tickets there is no user associated with a build when it was triggered by an scm poll or by a schedule or a github event. And when you say logged-in user, which one you mean when you have more than one user accessing your Jenkins at the same time? And when you use the REST API you need to authenticate probably for which you have to provide a user. And then it will return exactly this user as the logged in user. The only use case I see is when you have a pipeline step waiting for user input. But then when a user clicks on a button you have a http request with a user. |