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

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

            People

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

              Dates

              • Created:
                Updated: