copying directories from slave to master

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

copying directories from slave to master

rameshh035
I have a jenkins job,

slave is on windows
master is on ubuntu

job creates directories in slave machine, i need to copy these directories in master in particular path in build, can anyone please help me with this.

Thanks in advance.
Ramesh.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3c0083b0-e1bd-407d-9029-f61407742b7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: copying directories from slave to master

rameshh035


On Monday, November 6, 2017 at 5:42:25 PM UTC+5:30, rameshh035 wrote:
I have a jenkins job,

slave is on windows
master is on ubuntu

job creates directories in slave machine, i need to copy these directories in master in particular path in build, can anyone please help me with this.

Thanks in advance.
Ramesh.


I got a sloution to copy directories from slave to master  in a particular directory,
I used this plugin https://wiki.jenkins.io/display/JENKINS/Copy+To+Slave+Plugin  to copy directories to workspace in master from slave.
Limitation of this plugin is, it copies to workspace not to destination directory.
To overcome from this limitation, i created another job which executes simple copy command which copies directories from workspace to where ever you want.

Please let me know if any better solution is there other than this mentioned above.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f0589469-187e-4c47-ace4-e52370f977ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.