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

Started-By Environment Variable Plugin does not work

    Details

    • Similar Issues:

      Description

      It is expected that the following will print the user that started the job when placed in a shell script:
      echo ${JENKINS_STARTED_BY}

      But it does not. It appears that the value is not populated as it should be.

        Attachments

          Issue Links

            Activity

            Hide
            peter_schuetze peter_schuetze added a comment -

            See the same issue. Would be great if this works.

            Show
            peter_schuetze peter_schuetze added a comment - See the same issue. Would be great if this works.
            Hide
            btb3 Martin Ba added a comment -

            The plugin works for me on Windows with Jenkins 1.420
            The environment variable is printed as follows:
            JENKINS_STARTED_BY=first.second@ourdomain.com

            So it looks like it may be affected by a change btw. 1.420 and 1.442

            Show
            btb3 Martin Ba added a comment - The plugin works for me on Windows with Jenkins 1.420 The environment variable is printed as follows: JENKINS_STARTED_BY=first.second@ourdomain.com So it looks like it may be affected by a change btw. 1.420 and 1.442
            Hide
            sbrandwoo Stephen Brandwood added a comment -

            This plugin is using UserCause to find the user that started the job, but this has been deprecated and replaced with UserIdCause. I can submit a fix, but I suggest that people just use the Build User Vars plugin instead (https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin)

            Show
            sbrandwoo Stephen Brandwood added a comment - This plugin is using UserCause to find the user that started the job, but this has been deprecated and replaced with UserIdCause. I can submit a fix, but I suggest that people just use the Build User Vars plugin instead ( https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin )

              People

              • Assignee:
                Unassigned
                Reporter:
                sbrandwoo Stephen Brandwood
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: