Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hudson - capturing logs from slaves

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?

like image 992
Gadolin Avatar asked Jun 29 '11 12:06

Gadolin


People also ask

What is “the slave Hunt”?

The Slave Hunt” depicts soldiers from Sokoto raiding a village to capture slaves. [Harper’s Weekly (Sept. 12, 1857), p. 581]

How did European slavers travel across the Atlantic?

For three and a half centuries, European slavers carried African captives across the Atlantic in slave ships originating from ports belonging to all major European maritime powers—Spain, Portugal, the Netherlands, Denmark, Sweden, Britain, France, and Brandenburg-Prussia.

Where did slavers come from?

[Harper’s Weekly (Sept. 12, 1857), p. 581] For three and a half centuries, European slavers carried African captives across the Atlantic in slave ships originating from ports belonging to all major European maritime powers—Spain, Portugal, the Netherlands, Denmark, Sweden, Britain, France, and Brandenburg-Prussia.

What is in the log book of HMS Black Joke?

The handwritten log book of HMS Black Joke contains details of how the British ship chased slave ships across the Atlantic before capturing them and setting the slaves free. Home U.K. News Sports U.S. Showbiz Australia Femail Health Science Money Video Travel Shop DailyMailTV Latest Headlines Supply Chain Crisis Covid-19 Prince Harry Meghan Markle


2 Answers

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

like image 132
Arpit Avatar answered Oct 16 '22 15:10

Arpit


Go to Nodes, choose the node (or hover on the name) and select Build History. The logs of the job that ran on the slave node will be there.

like image 1
grund Avatar answered Oct 16 '22 15:10

grund