// Configure Slaves
-def create_slave_node = { instance, name, remoteFS, numExecutors, labelString, sshHost, sshPort, sshCredentials, userId ->
+def create_slave_node = { instance, name, remoteFS, numExecutors, labelString, sshHost, sshPort, sshCredentials, userId, description ->
def myLauncher = new hudson.plugins.sshslaves.SSHLauncher(sshHost, sshPort.toInteger(), sshCredentials, null, null, null, null, 0, 0, 0);
def slave = new hudson.slaves.DumbSlave(name,
- '',
+ description,
remoteFS,
numExecutors,
hudson.model.Node.Mode.EXCLUSIVE,