Hi, The Copy To Slave Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Copy+To+Slave+Plugin) can copy back files to the master. Currently this is only available as a post-build action, so I'm not sure if the files will be available to send them as attachments. Nevertheless it might still be cleaner than using ssh.
It shouldn't be a big deal to change the plugin so that "copy back to master" is available as a normal build step. HTH, Fred On Thursday, July 5, 2012 3:39:15 PM UTC+2, marathiboy wrote: > > Hello, > > I need to pull files from remote machine and send it via email as > attachment. Once the files are on Jenkins server, I can do the rest. > > In order to copy (pull) files from the remote server, is there any plugin > or > how can I use something like > > ssh target_address cat remotefile > localfile > > using ssh plugin? > > Thanks > > S > > -- > View this message in context: > http://jenkins.361315.n4.nabble.com/Jenkins-ssh-and-pull-copy-files-tp4633889.html > > Sent from the Jenkins users mailing list archive at Nabble.com. >