Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27160

display the slave name in the main job's console output

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Jenkins ver. 1.596.1 on CentOS 6.6

      I have a Jenkin's master with multiple slave setup.
      I would like to have the main job's console output to include the slave name where jobs are executed.

      e.g. Currently in Jenkins ver. 1.596.1 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

            Unassigned Unassigned
            neon Neon Ngo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: