Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30535

Jenkins logged in user info

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • core
    • None

      Hi Team

      i want to capture the jenkins logged in user . The details of the user that appear on the UI , right hand side of jenkins screen. This user is the logged in user and not necessarily would have started the build. I have tried Jenkins.getAuthentication().getName(); and User.Current().getDisplayName . But all of these return System as answer. I need to get the person's userid or name. Please suggest how to achieve this.

            Unassigned Unassigned
            bharatgoe bharat goel
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: