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

Add logged-in username to batch-task environment vars

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: batch-task-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: