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

Add logged-in username to batch-task environment vars

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • batch-task-plugin
    • None
    • Platform: All, OS: All

    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 -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            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

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

              Dates

                Created:
                Updated:
                Resolved: