From: hyokeun Date: Wed, 25 Oct 2017 05:56:27 +0000 (+0900) Subject: Add description parameter in groovy node function X-Git-Tag: submit/trunk/20190927.012743~254 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30f1cd84dbad5d39663442cea21854c415978d01;p=services%2Fjenkins-scripts.git Add description parameter in groovy node function Change-Id: Ic47bc7c82c2f7a357c1e0c314876195e3770e341 --- diff --git a/groovy_init_scripts/Module_Node b/groovy_init_scripts/Module_Node index 2b3a55d..7f6b0de 100755 --- a/groovy_init_scripts/Module_Node +++ b/groovy_init_scripts/Module_Node @@ -1,9 +1,9 @@ // 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,