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

Add logged-in username to batch-task environment vars

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • batch-task-plugin
    • None
    • Platform: All, OS: All

      In addition to the existing Hudson provided environment vars, it would be very nice to have the username
      of the logged-in user exposed when running batch tasks. The use-case is to be able to send an email
      from the task that contains the username of the user that kicked it off.

      I'd suggest HUDSON_USER as the name of the var.

          [JENKINS-1628] Add logged-in username to batch-task environment vars

          noise created issue -
          mdonohue made changes -
          Link New: This issue depends on JENKINS-291 [ JENKINS-291 ]
          Alan Harder made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Alan Harder [ mindless ]
          Alan Harder made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          gastaldi made changes -
          Link New: This issue is blocking JENKINS-5770 [ JENKINS-5770 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 131701 ] New: JNJira + In-Review [ 200866 ]

            mindless Alan Harder
            noise noise
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: