Skip to main content
Jump to: navigation, search

Hudson-ci/Launching slave.jar from the console

Hudson Continuous Integration Server
Mailing ListForumsIRCmattermost
OpenHelp WantedBug Day
Browse Source
Hudson-bust.png Launching slave.jar from the Console

slave.jar is meant to be launched by Hudson, typically through a remote shell like ssh/rsh. Hudson master then communicates with this slave through stdin and stdout.

slave.jar is not meant to initiate a connection to the master on its own, so if you are trying to run it from cron or as a service, you are misunderstanding how this works. If you try and run it this way you will see the following error:

% java -jar slave.jar
WARNING: Are you running slave agent from an interactive console?
If so, you are probably using it incorrectly.

See Distributed builds for more details.

Back to the top