windowsmacosantcontinuous-integrationjenkins

How to setup Ant script to copy files from Mac to Windows?


I am trying to setup continuous integration for my iOS project. Jenkins is running on windows. Goes off calling Ant script on Mac. Once the builds run on mac I need the reports to be copied back to Windows Jenkins reports folder.

I couldn't do it using ant scp task from Windows because it just allows us to put files from Windows to Mac but not the other way. Are there any other lightweight alternatives?


Solution

  • You could setup an FTP server on your windows box and then use the ant FTP Task to transfer the file.