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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.596.1 on CentOS 6.6
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          neon Neon Ngo created issue -
          neon Neon Ngo made changes -
          Field Original Value New Value
          Environment Jenkins ver. 1.580.3 on CentOS 6.6 Jenkins ver. 1.596.1 on CentOS 6.6
          Component/s matrix-project-plugin [ 18765 ]
          Component/s slave-utilization [ 17575 ]
          neon Neon Ngo made changes -
          Description 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.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
          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
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 161356 ] JNJira + In-Review [ 180668 ]
          oleg_nenashev Oleg Nenashev made changes -
          Component/s matrix-project-plugin [ 18765 ]
          Component/s slave-utilization-plugin [ 17575 ]
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          "Building on master in " in the beginning of the log IIUC the request correctly.

          Show
          oleg_nenashev Oleg Nenashev added a comment - "Building on master in " in the beginning of the log IIUC the request correctly.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Please reopen if I misunderstood it

          Show
          oleg_nenashev Oleg Nenashev added a comment - Please reopen if I misunderstood it
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          Hide
          neon Neon Ngo added a comment -

          test_el6_gcc4.4_nightly » jdk8,el6 completed with result SUCCESS

          should be changed (improved) to

          test_el6_gcc4.4_nightly » jdk8,el6 completed on slaveMachineName with result SUCCESS

          Show
          neon Neon Ngo added a comment - test_el6_gcc4.4_nightly » jdk8,el6 completed with result SUCCESS should be changed (improved) to test_el6_gcc4.4_nightly » jdk8,el6 completed on slaveMachineName  with result SUCCESS
          neon Neon Ngo made changes -
          Resolution Not A Defect [ 7 ]
          Status Resolved [ 5 ] Reopened [ 4 ]

            People

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

              Dates

              • Created:
                Updated: