Copy file from Slave Hudson to Master Hudson

て烟熏妆下的殇ゞ 提交于 2019-12-11 21:14:55

问题


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 : I set Hudson2 as a slave on Hudson1 and with "Copy to Slave plugin" I can copy result build of Hudson1 to 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,

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

Thanks


回答1:


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

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.



来源:https://stackoverflow.com/questions/19600792/copy-file-from-slave-hudson-to-master-hudson

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!