1.Install ssh server on windows,use opensshd,download page is http://www.mls-software.com/opensshd.html
2.Create a local account for remote ssh to log in.
3.In jenkins,use remote ssh plugin set the ssh connection.
4.Run jenkins job.
5.But ant command can't not excute from jenkins,the reason? I'll be appreciate if you can help.