Jenkins构建多节点之Linux节点

时间:2018-08-01 17:01:55   收藏:0   阅读:1301
系统管理-管理节点-新建Linux节点
技术分享图片
技术分享图片
技术分享图片

点击Linux节点运行,产生下面这些日志,表示连接成功:
技术分享图片
[02/09/18 05:20:36] [SSH] Opening SSH connection to 192.168.1.209:22.
[02/09/18 05:20:37] [SSH] WARNING: SSH Host Keys are not being verified. Man-in-the-middle attacks may be possible against this connection.
[02/09/18 05:20:37] [SSH] 认证成功。
[02/09/18 05:20:38] [SSH] The remote user‘s environment is:
BASH=/bin/bash
BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_EXECUTION_STRING=set
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="4" [1]="3" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION=‘4.3.11(1)-release‘
DIRSTACK=()
EUID=0
GROUPS=()
HOME=/root
HOSTNAME=ubuntu
HOSTTYPE=x86_64
IFS=$‘ \t\n‘
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:zh
LOGNAME=root
MACHTYPE=x86_64-pc-linux-gnu
MAIL=/var/mail/root
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PIPESTATUS=([0]="0")
PPID=15472
PS4=‘+ ‘
PWD=/root
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SSH_CLIENT=‘192.168.1.228 52134 22‘
SSH_CONNECTION=‘192.168.1.228 52134 192.168.1.209 22‘
TERM=dumb
UID=0
USER=root
XDG_RUNTIME_DIR=/run/user/0
XDG_SESSIONID=377
=‘]‘
[02/09/18 05:20:38] [SSH] Starting sftp client.
[02/09/18 05:20:39] [SSH] 正在拷贝最新版本的 slave.jar...
[02/09/18 05:20:39] [SSH] Copied 745,674 bytes.
Expanded the channel window size to 4MB
[02/09/18 05:20:39] [SSH] Starting slave process: cd "/root/code" && /usr/local/jdk1.8/bin/java -jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>channel started
Remoting version: 3.14
This is a Unix agent
Evacuated stdout
Agent successfully connected and online

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!