Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Hudson-ci/Launching slave.jar from the console"
(New page: {{hudson|pageTitle=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...) |
|||
Line 3: | Line 3: | ||
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 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. | + | 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: |
− | If you try and run it this way you will see the following error: | + | <pre>% java -jar slave.jar |
− | <pre> | + | |
− | % java -jar slave.jar | + | |
WARNING: Are you running slave agent from an interactive console? | WARNING: Are you running slave agent from an interactive console? | ||
If so, you are probably using it incorrectly. | If so, you are probably using it incorrectly. | ||
See | See | ||
− | </pre> | + | </pre> |
− | See [Distributed builds] for more details. | + | See [[Editing_Hudson-ci\Distributed_Builds|Distributed builds]] for more details. |
Revision as of 11:10, 31 August 2011
Hudson Continuous Integration Server | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
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
See Distributed builds for more details.