Windows equivalent for publish-over-ssh plugin?

1,387 views
Skip to first unread message

Salut

unread,
Apr 25, 2012, 3:22:01 AM4/25/12
to Jenkins Developers
Hi All,

I am trying to send files/execute commands in a remote windows machine
(which is not a jenkins slave). I worked similar kind of stuff for *x
environments using publish-over-ssh plugin. How to achieve this for a
windows server? Please also assume FTP is not enabled in the remote
machine.

Thanks in advance.

nicolas de loof

unread,
Apr 25, 2012, 4:24:07 AM4/25/12
to jenkin...@googlegroups.com

Salut

unread,
Apr 25, 2012, 5:02:45 AM4/25/12
to Jenkins Developers
Thanks Nicolas. This doesn't seem to be connecting. It is to access
share. Moreover commands cannot be executed with this plugin.

On Apr 25, 1:24 pm, nicolas de loof <nicolas.del...@gmail.com> wrote:
> seems you needhttps://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+CIFS+Plugin
>
> 2012/4/25 Salut <karthik.krishnag...@gmail.com>

Salut

unread,
Apr 26, 2012, 4:54:36 AM4/26/12
to Jenkins Developers
Any updates?

On Apr 25, 1:24 pm, nicolas de loof <nicolas.del...@gmail.com> wrote:
> seems you needhttps://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+CIFS+Plugin
>
> 2012/4/25 Salut <karthik.krishnag...@gmail.com>
>
>
>
>
>
>
>

Alexis Morelle

unread,
Apr 26, 2012, 8:43:16 AM4/26/12
to jenkin...@googlegroups.com
If you can't get ssh service on the remote machine and use jenkins scp-plugins and jenkins ssh-plugin, you might consider using tools like wmic or psexec but I don't think a plugin exists for them.

Salut

unread,
Apr 30, 2012, 5:39:52 AM4/30/12
to Jenkins Developers
Hi Alexis, Thanks for your quick response. I even tried psexec and
wmic but was not successful even after doing registry changes.

On Apr 26, 5:43 pm, Alexis Morelle <alexis.more...@gmail.com> wrote:
> If you can't get ssh service on the remote machine and use jenkins
> scp-plugins <https://wiki.jenkins-ci.org/display/JENKINS/SCP+plugin> and
> jenkins ssh-plugin <https://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin>,

Jerome Lacoste

unread,
Apr 30, 2012, 6:10:36 AM4/30/12
to jenkin...@googlegroups.com
On Monday, April 30, 2012 11:39:52 AM UTC+2, Salut wrote:
Hi Alexis, Thanks for your quick response. I even tried psexec and
wmic but was not successful even after doing registry changes.

The closest alternative I have found to support something like SSH on Windows is WIndows Powershell Remote execution.
* this java library seems to support it: https://github.com/xebialabs/overthere
* this is a ruby library: https://github.com/zenchild/WinRM

Might be possible to write a plugin out of them ?

Finally, maybe jenkins could support powershell jobs.

In the mean time, I would probably go for installing SSH on the remote host. http://serverfault.com/questions/8411/what-is-a-good-ssh-server-to-use-on-windows

Jerome
Reply all
Reply to author
Forward
0 new messages