[JIRA] (JENKINS-59628) Retrieve currently logged-in user from shared library

2 views
Skip to first unread message

benjamin.muschko@gmail.com (JIRA)

unread,
Oct 2, 2019, 11:53:03 AM10/2/19
to jenkinsc...@googlegroups.com
Benjamin Muschko updated an issue
 
Jenkins / Improvement JENKINS-59628
Retrieve currently logged-in user from shared library
Change By: Benjamin Muschko
I am trying to determine the currently logged-in user from a shared library. Other users reported the same issue in other tickets but all of them have been closed without giving additional guidance.

https://issues.jenkins-ci.org/browse/JENKINS-14605
https://issues.jenkins-ci.org/browse/JENKINS-55245

The closing reason has been:

> ?? Remember that these methods are generally only meaningful within the dynamic scope of an HTTP request or CLI command. Use the dev mailing list or IRC if you still have issues. ??

That's fine but obviously the other users asked how to make this happen from pipeline code. Can you clarify if this is possible right now and provide a working example? If it is not possible right now, are you planning to work on a fix?
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

benjamin.muschko@gmail.com (JIRA)

unread,
Oct 2, 2019, 11:55:19 AM10/2/19
to jenkinsc...@googlegroups.com
Benjamin Muschko created an issue
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core, pipeline
Created: 2019-10-02 15:52
Environment: Jenkins ver. 2.150.2
Priority: Minor Minor
Reporter: Benjamin Muschko

I am trying to determine the currently logged-in user from a shared library. Other users reported the same issue in other tickets but all of them have been closed without giving additional guidance.

https://issues.jenkins-ci.org/browse/JENKINS-14605
https://issues.jenkins-ci.org/browse/JENKINS-55245

The closing reason has been:

> Remember that these methods are generally only meaningful within the dynamic scope of an HTTP request or CLI command. Use the dev mailing list or IRC if you still have issues.

That's fine but obviously the other users asked how to make this happen from pipeline code. Can you clarify if this is possible right now and provide a working example? If it is not possible right now, are you planning to work on a fix?

Reply all
Reply to author
Forward
0 new messages