1.想要 远程登录到linux服务器并执行相应的shell脚本,需要在jenkins上安装插件enkins SSH plugin
2. 安装了这个插件后,进入系统的配置管理中配置 SSH remote host
3. 然后配置相应Job中的 execute shell script on remote host using ssh, 选择相应的SSH site, 然后在commad中输入要执行的sh 命令或脚本
1.想要 远程登录到linux服务器并执行相应的shell脚本,需要在jenkins上安装插件enkins SSH plugin
2. 安装了这个插件后,进入系统的配置管理中配置 SSH remote host
3. 然后配置相应Job中的 execute shell script on remote host using ssh, 选择相应的SSH site, 然后在commad中输入要执行的sh 命令或脚本