Child pages
  • Started-By Environment Variable Plugin

Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View Started-By Environment Variable on the plugin site for more information.

This plugin makes the user id that started a build available as environment variable.



This Plugin has/had problems with Jenkins versions >= 1.442 (or somesuch) : JENKINS-12074

There is another (newer) plugin available that allegedly should do "the same" thing: Build User Vars Plugin



This is the same information that Jenkins normally displays in the Console Output on the first line

Started by user ...


  1. Unknown User (jmerkel)

    This plugin is exactly what I need. Unfortunatly I'm not able to get the environment variable.

    I'm using Jenkins 1.439 and the  environment variabel is not available for batch script execution, neither on master nor on a slave node.

    Have I missed something or is there a bug in the plugin?

    Regards Jan

    1. Unknown User (gkonovalenko)

      Hi Jan,

      please check Build User Vars Plugin, it does what you need.

  2. Unknown User (gbois)

    Like the Build User Vars Plugin, do not forget to make it as an extension of the envinject plugin (JENKINS-11968).

    1. Unknown User (gkonovalenko)

      Is link to the issue correct?

      1. Unknown User (gbois)

  3. Unknown User (raavi)

    Hi! I am trying to set environment variable in master as "SLAVE_IP" with an IP address as a value and use it in Slave(Both master and slave in windows) but somehow it won't recognize the environment variable though it is displayed in system configuration. While launching the agent it gives me error as:

    [10/17/17 15:11:22] [SSH] Opening SSH connection to ${SLAVE_IP}:22.
    ${SLAVE_IP} There was a problem while connecting to ${SLAVE_IP}:22
    	at com.trilead.ssh2.Connection.connect(
    	at com.trilead.ssh2.Connection.connect(
    	at com.trilead.ssh2.Connection.connect(
    	at hudson.plugins.sshslaves.SSHLauncher.openConnection(
    	at hudson.plugins.sshslaves.SSHLauncher$
    	at hudson.plugins.sshslaves.SSHLauncher$
    	at Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$ Source)
    	at Source)
    Caused by: ${SLAVE_IP}
    	at Method)
    	at$2.lookupAllHostAddr(Unknown Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at Source)
    	at com.trilead.ssh2.transport.TransportManager.createInetAddress(
    	at com.trilead.ssh2.transport.TransportManager.establishConnection(
    	at com.trilead.ssh2.transport.TransportManager.initialize(
    	at com.trilead.ssh2.Connection.connect(
    	... 9 more
    [10/17/17 15:11:25] Launch failed - cleaning up connection
    [10/17/17 15:11:25] [SSH] Connection closed.
    1. Unknown User (johntiger1)

      Wow this is recent