Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

What Hudson expects from your script is that, in the end, it has to execute the slave agent program like java -jar slave.jar, on the right computer, and have its stdin/stdout connect to your script's stdin/stdout. For example, a script that does "ssh myslave java -jar ~/bin/slave.jar" would satisfy this.
(The point is that you let Hudson run this command, as Hudson uses this stdin/stdout as the communication channel to the slave agent. Becaues Because of this, running this manually from your shell will do you no good).

...