Plugin Information
Plugin infoThis Plugin was derived from the very cool SCP Plugin. You can use the SSH Plugin to run shell commands on a remote machine via ssh. UsageFirst go to the global configuration page and add a SSH site.
For your job select a configured site and enter the shell commands that should be executetd before and after the build.
Log will look like this.
TODO
Changelog1.1 removed isEmpty() for 1.5 comp; better input areas 1.0 Initial release. 0.0 ^^ |



Comments (10)
Mar 16, 2010
Gabriel Baez says:
I like this plugin but it does not take parameters like $BUILD_NUMBER of $...I like this plugin but it does not take parameters like $BUILD_NUMBER of $JOB_NAME I'm also not able to stop the hudson job when using this plugin.
Apr 01, 2010
Arturo says:
I am having the same problem, even the scrip I am calling takes only 15 secs, t...I am having the same problem, even the scrip I am calling takes only 15 secs, the Hudson Job never stops by
itself or manually. I have to restart the server.
Any idea, how to solve this.?
Apr 19, 2010
Korvjan bengtsson says:
I have the same problem with the parameters aswell.. could you please support th...I have the same problem with the parameters aswell.. could you please support this in a upcoming version
thanks Andreas
Jun 11, 2010
Fran Simó says:
A timeout setting with a default result (success or failure) would be enough for...A timeout setting with a default result (success or failure) would be enough for now.
Thanks...
(redirecting both outputs 1> /dev/null 2> /dev/null it works)
Jul 07, 2010
Mithun Shenoy says:
This plugin rocks!!! But pls tell me as to when the Environment vari...This plugin rocks!!! But pls tell me as to when the Environment variables like $BUILD_NUMBER will be supported?
Jul 22, 2010
Fran Simó says:
Since I upgrade Hudson to 1.367 this plugin is not working any more. It's someth...Since I upgrade Hudson to 1.367 this plugin is not working any more.
It's something about CR/LF. I'm runing Hudson on Windows
Jul 27, 2010
Bartosz Balcer says:
I need to connect to one host using 7 different users and the plugin just does n...I need to connect to one host using 7 different users and the plugin just does not support it.
- there is no field where you can assign a name or an identifier to a host, so the list of hosts looks pretty confusing in my case (all entries are the same).
- the plugin always connects to the first host from my list, no matter which one I've actually chosen.
Please add labels... you'll make my life a whole lot easier...
Sep 05, 2010
jeremy chen says:
This plugin is great. However since all my jobs are parametized builds, it does ...This plugin is great. However since all my jobs are parametized builds, it does not recognize any parametized parameters when I reference them in the pre/post build script.
We will only be able to use this once parametized parameters are recognized.
Nov 02, 2010
Stefan Thurnherr says:
Nice plugin - the big missing feature is that parametrized parameters are curren...Nice plugin - the big missing feature is that parametrized parameters are currently not supported.I'll have to wait for that feature to be implemented before we can use the plugin.
Feb 13, 2012
raghumurugan says:
can anyone explain how to execute shell script from windows to unix using ssh pl...can anyone explain how to execute shell script from windows to unix using ssh plugin ?
eg ) A m/c is win and B m/c is unix
i want to execute a shell script from A m/c ( where hudson is running ) to B m/c remotely