jenkins启动Linux节点失败
有没有小伙伴可以回答下:jenkins启动Linux节点失败 【注:远程目录:/root/.jenkins JavaPath:jdk目录/bin/java 已配置 四种Host Key Verification Strategy更换均失败】
[04/11/19 00:49:34] [SSH] Starting sftp client.
[04/11/19 00:49:34] [SSH] 正在拷贝最新版本的 remoting.jar...
[04/11/19 00:49:34] [SSH] Copied 529,326 bytes.
Expanded the channel window size to 4MB
[04/11/19 00:49:34] [SSH] Starting agent process: cd "/root/.jenkins" && /home/hc/java/jdk1.8.0_181/bin/java -jar remoting.jar -workDir /root/.jenkins
"-workDir" is not a valid option
java -jar slave.jar [options...]
-auth user:pass : If your Jenkins is security-enabled, specify
a valid user name and password.
-connectTo HOST:PORT : make a TCP connection to the given host and
port, then start communication.
-cp (-classpath) PATH : add the given classpath elements to the
system classloader.
-jar-cache DIR : Cache directory that stores jar files sent
from the master
-jnlpCredentials USER:PASSWORD : HTTP BASIC AUTH header to pass in for making
HTTP requests.
-jnlpUrl URL : instead of talking to the master via
stdin/stdout, emulate a JNLP client by
making a TCP connection to the master.
Connection parameters are obtained by
parsing the JNLP file.
-noReconnect : Doesn't try to reconnect when a
communication fail, and exit instead
-proxyCredentials USER:PASSWORD : HTTP BASIC AUTH header to pass in for making
HTTP authenticated proxy requests.
-secret HEX_SECRET : Slave connection secret to use instead of
-jnlpCredentials.
-slaveLog FILE : create local slave error log
-tcp FILE : instead of talking to the master via
stdin/stdout, listens to a random local
port, write that port number to the given
file, then wait for the master to connect to
that port.
-text : encode communication with the master with
base64. Useful for running slave over 8-bit
unsafe protocol like telnet
Slave JVM has terminated. Exit code=0
[04/11/19 00:49:35] Launch failed - cleaning up connection
[04/11/19 00:49:35] [SSH] 连接关闭。