0

I have a CI environment set up that build my project. It creates a set of sql server files, that i want to to send to my windows server. For that im looking into using scp, by installing copssh.

scp -r /file_in_unix/ user@windows_hostname:/cygdrive/c/

I want to execute a batch file on the windows server, but dont know how to do this?

any ideas?

user1555190
  • 2,803
  • 8
  • 47
  • 80
  • Possible duplicate of http://stackoverflow.com/questions/22553588/run-batch-scripts-on-a-remote-server-windows-from-jenkins – Akhil Sep 26 '14 at 11:24

1 Answers1

0

Quite fast workaround is just to connect your Windows machine to Jenkins as another node. Your current unix job can trigger this job after successful execution.

Piotr Oktaba
  • 775
  • 1
  • 4
  • 14