View Source

{hudson-plugin-info:pluginId=ssh}

h3.










h3. Plugin info

{excerpt}


This Plugin was derived from the very cool [SCP Plugin|http://wiki.hudson-ci.org/display/HUDSON/SCP+plugin|a really cool plugin].

{excerpt}


You can use the SSH Plugin to run shell commands on a remote machine via ssh.
----
h3. Usage

First go to the global configuration page and add a SSH site.


!ssh-global-cfg.png|width=689,height=245!

For your job select a configured site and enter the shell commands that should be executetd before and after the build.



h3.













!ssh-job-cfg.png!



h3.













Log will look like this.


h3.













!ssh-job-log.png!



h3.









----
h3.













h3. TODO


* i18n
* support build parameters like build number etc.
* we also need a post deploy script (ask some of the core team how to do that)
* investigate stop behavior of Hudson jobs using the ssh Plugin
* support multiple sites
* use same sites as scp plugin (plugin dependencies???)
* ...

----
h3. Changelog

1.1 removed isEmpty() for 1.5 comp; better input areas


1.0 Initial release.


0.0 \^\^