在windows
下装了个jenkins
,想使用publish over ssh
这个插件将指定文件发送到远程linux
服务器,任务执行完之后,服务器却找不到相关文件。
构建时,控制台输出如下:
SSH: Connecting from host [DESKTOP-1]
SSH: Connecting with configuration [xx.xxx.xx.xxx] ...
SSH: Disconnecting configuration [xx.xxx.xx.xxx] ...
SSH: Transferred 1 file(s)
Finished: SUCCESS
任务配置:
系统配置(使用密码连接远程服务器):
服务器路径:
且jenkins的workspace目录下的dist/index2.html是存在的。
不知是哪里配置不妥?求大佬们指点。🤝🤝🤝
remote directory,你www/wwwrout/test不对的吧,linux没有这种路径的,你要明确一下绝对路径,比如/home/yourname/xxx, /root/xxxx这种的