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

User.current().getId() always return SYSTEM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core, pipeline
    • None
    • Jenkins 2.138.3
      Firefox/Google Chrome
      ava.runtime.version 1.8.0_181-8u181-b13-2~deb9u1-b13

      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

            Unassigned Unassigned
            pauloneves Paulo Eduardo Neves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: