如何将文件从远程主机复制到jenkins服务器 [英] How to copy file from remote host to jenkins server

查看:801
本文介绍了如何将文件从远程主机复制到jenkins服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用詹金斯进行构建.我正在使用jenkins服务器在远程服务器上运行一些脚本.很好,但是远程主机会生成一些html文件.我想将该文件复制回jenkins服务器.是否可以从jenkins服务器上做到这一点?

I am using jenkins for build process. I am running some scripts on remote server using jenkins server. It's fine but remote host generates some html file. I want to copy that file back to jenkins server. Is it possible to do it from jenkins server?

推荐答案

Copy to slave plugin also copies files back from slaves to the master. Might be worth the look.

这篇关于如何将文件从远程主机复制到jenkins服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆