SSH plugin

Plugin Information

Plugin ID ssh
Latest Release 2.3
Latest Release Date Sep 24, 2012
Sources Github
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

Plugin info

This 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.


Usage

First 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

  • 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???)
  • ...

Changelog

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

1.0 Initial release.

0.0 ^^

Labels:

plugin-buildwrapper plugin-buildwrapper Delete
tier3-hudson-plugin tier3-hudson-plugin Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. 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.

  2. 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.?

  3. 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

  4. 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)

  5. 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?

  6. 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

  7. 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...

  8. 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.

  9. 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.

  10. 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