Hudson - capturing logs from slaves

Gadolin picture Gadolin · Jun 29, 2011 · Viewed 13.8k times · Source

I have MASTER and SLAVE configured (ssh-slave-plugin).

I would like to display output of the slave executed script under job on master, as so far I get

Building remotely on SubAgent
Triggering SubAgent
Triggering a new build of XXXX #126
Finished: SUCCESS

and that is all. So the whole execution is hidden.

Is there any way to do that?

Answer

Arpit picture Arpit · Jul 5, 2011

I am using the same master-slave configuration (ssh) on Hudson and all the logs are visible on the Hudson Interface.
There might be a couple of things that you can check:

  1. What tool are you using to build (eg, ANT, MAVEN...). Check the execution if the logs are being produced at all
  2. Check the Console Output [raw]
  3. Manage Hudson > Manage Nodes > Select the Slave > Configure
    • Make Sure that "Remote FS root" is mentioned.
    • Check Launch Method. I am Connecting to my slaves via jnlp (I believe this could be the key)

Cheers!!