1.首先进入Manage Jenkins ->Configure System查看是否配置好私钥: 2.配置信息如下: 注意: Source files格式:**/xxx.jar(要部署的包)Remove prefix:需要移除的前缀,一般都是/项目名/targetRemote direcotry:移动jar包到远程服务器的目录