Display slave name main job's console output

14 views
Skip to first unread message

Neon Ngo

unread,
Feb 20, 2015, 1:06:18 PM2/20/15
to jenkins...@googlegroups.com
I have a Jenkin's master with multiple slave setup.
Is it possible to display the slave name in the main job's console output?

e.g. Currently in Jenkins ver. 1.580.3 the main output of my Multi-configuration project look like something below:

====================
Started by an SCM change
Building on master in workspace /var/lib/jenkins/jobs/test_el6_gcc4.4_nightly/workspace
...
No emails were triggered.
Triggering test_el6_gcc4.4_nightly » jdk6,el6
Triggering test_el6_gcc4.4_nightly » jdk8,el6
Triggering test_el6_gcc4.4_nightly » jdk7,el6
Triggering test_el6_gcc4.4_nightly » openjdk7,el6
Triggering test_el6_gcc4.4_nightly » openjdk6,el6
test_el6_gcc4.4_nightly » jdk8,el6 completed with result SUCCESS
test_el6_gcc4.4_nightly » jdk7,el6 completed with result SUCCESS
test_el6_gcc4.4_nightly » openjdk7,el6 completed with result SUCCESS
test_el6_gcc4.4_nightly » openjdk6,el6 completed with result SUCCESS
...
Finished: SUCCESS
====================

I would like it to be something like this
...
Triggering test_el6_gcc4.4_nightly » openjdk6,el6
test_el6_gcc4.4_nightly » jdk8,el6 completed on slaveMachine1 with result SUCCESS
test_el6_gcc4.4_nightly » jdk7,el6 completed on slaveMachine2 with result SUCCESS
test_el6_gcc4.4_nightly » openjdk7,el6 completed on slaveMachine3 with result SUCCESS
test_el6_gcc4.4_nightly » openjdk6,el6 completed on slaveMachine1 with result SUCCESS
...

e.g. on the success or failure result line, it should include the slave name

One thing I believe that is missing in the current main job's console output is the result of the touchstone build (jdk6 in my case), e.g.
test_el6_gcc4.4_nightly » jdk6,el6 completed on slaveMachine1 with result SUCCESS

Regards,

Neon

Daniel Beck

unread,
Feb 20, 2015, 5:21:26 PM2/20/15
to jenkins...@googlegroups.com
On 20.02.2015, at 19:06, Neon Ngo <tri...@gmail.com> wrote:

> Is it possible to display the slave name in the main job's console output?

This is a feature request.

https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

> One thing I believe that is missing in the current main job's console output is the result of the touchstone build (jdk6 in my case), e.g.
> test_el6_gcc4.4_nightly » jdk6,el6 completed on slaveMachine1 with result SUCCESS

Could be a bug.


Reply all
Reply to author
Forward
0 new messages