将文件从Slave Hudson复制到Master Hudson [英] Copy file from Slave Hudson to Master Hudson

查看:247
本文介绍了将文件从Slave Hudson复制到Master Hudson的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Hudson1(Linux),正在为特定项目创建Build并完成其他工作, 并拥有Hudson2(Windows),为另一个不同的项目创建构建并完成其他工作, Hudson2的构建取决于Hudson1的构建,

I'm Having Hudson1 (Linux), creating a Build and doing other jobs for a certain project, And Having Hudson2 (Windows), creating a build and doing other jobs for another different project, Hudson2 build depends on Hudson1 build,

P1:我将Hudson2设置为Hudson1上的从属服务器,并使用复制到从属插件",可以将Hudson1的结果版本复制到Hudson2,

P1 : I set Hudson2 as a slave on Hudson1 and with "Copy to Slave plugin" I can copy result build of Hudson1 to Hudson2,

现在的问题是,在没有使用FTP或SCP命令的ant脚本的情况下,我可以将Hudson2作为主版本,将Hudson2作为从属版本,将Hudson1的结果版本复制到Hudson2,

Now the question is, can I copy result build of Hudson1 to Hudson2, considering Hudson2 as Master and Hudson2 as slave, without an ant script that uses FTP or SCP command,

请注意,我们仅使用JNLP协议将主机连接到从机,

Note we only use JNLP protocol to connect master to slave,

谢谢

推荐答案

请参见pugin文档 https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin ,两个复制方向均受支持.

See pugin documentation https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin, both copy directions are supported.

但是,我不确定hudson1和hudson2是什么意思.您是指一个主机和一个从机还是两个主机?如果是第二种情况,则复制到从属"插件对任何一个方向都无济于事.

However, I am not sure what you mean by hudson1 and hudson2. Do you mean one master and a slave or two master? If the second is the case, then Copy to Slave plugin doesn't help you in either direction.

这篇关于将文件从Slave Hudson复制到Master Hudson的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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