L
L
LB7772015-01-24 16:34:08
Cygwin
LB777, 2015-01-24 16:34:08

How to make Jenkins and cygwin friends?

I need to set up synchronization under Windows using Jenkins.
To do this, I installed cygwin with ssh and rsync. In cygwin I set up ssh to a remote server and set up rsync. Everything works and files are thrown.
In Jenkins, I installed the "SSH plugin" plugin, where I registered the data of the remote server, and created a task with the build step "Execute shell script on remote host using ssh", where the data of the remote server was highlighted in the "SSH site", and in the "Command" I entered the command that I entered in cygwin "rsync -rtuv cygdrive/j/Jenkins/workspace/workspace/www/* [email protected]:www/test/" .
Now, when starting the task, after executing the command "rsync -rtuv cygdrive/j/Jenkins/workspace/workspace/www/* [email protected]:www/test/" nothing happens, as if something somewhere then it hangs or waits for a response from the server. I repeat that in cygwin the same command runs normally, quickly and everything is synchronized.
I have the impression that I somehow did not configure Jenkins correctly.
Please write how to make friends Jenkins and cygwin.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question