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

No branch name in logs from parallel branches anymore?

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Before with parallel(), we used to have the branch name in the logs as a prefix for each log message from that branch.

      Now it seems that there is a mechanism to show/hide based on each branch.

      With the code:

      builds = [:]
      builds['foo'] = { echo "message 1" }
      builds['bar'] = { echo "message 2" }
      parallel(builds)
      

      'Before':

      [Pipeline] parallel
      [Pipeline] [foo] { (Branch: foo)
      [Pipeline] [bar] { (Branch: bar)
      [Pipeline] [foo] echo
      [foo] message 1
      [Pipeline] [foo] }
      [Pipeline] [bar] echo
      [bar] message 2
      [Pipeline] [bar] }
      [Pipeline] // parallel
      [Pipeline] End of Pipeline
      Finished: SUCCESS
      

      Now:

      [Pipeline] parallel
      [Pipeline] { (Branch: foo)
      [Pipeline] { (Branch: bar)
      [Pipeline] echo
      message 1
      [Pipeline] }
      [Pipeline] echo
      message 2
      [Pipeline] }
      [Pipeline] // parallel
      [Pipeline] End of Pipeline
      Finished: SUCCESS
      

        Attachments

          Issue Links

            Activity

            Hide
            eshepelyuk Evgeny Shepelyuk added a comment -

            We experience exactly the same, not sure when it happen, but probably since last week update

            Show
            eshepelyuk Evgeny Shepelyuk added a comment - We experience exactly the same, not sure when it happen, but probably since last week update
            Hide
            dnusbaum Devin Nusbaum added a comment -

            See JENKINS-54304. Release 2.26 of Pipeline Job Plugin rewrote the log handling in Pipeline. Pipeline Job Plugin 2.31, which was released yesterday, displays branch labels in the console view of the classic UI, although there are still some quirks. If not having the branch names in the raw logs is a problem for you, please comment in that ticket so we understand the impact.

            Show
            dnusbaum Devin Nusbaum added a comment - See JENKINS-54304 . Release 2.26 of Pipeline Job Plugin rewrote the log handling in Pipeline. Pipeline Job Plugin 2.31, which was released yesterday, displays branch labels in the console view of the classic UI, although there are still some quirks. If not having the branch names in the raw logs is a problem for you, please comment in that ticket so we understand the impact.
            Hide
            tuttul Shah Chowdhury added a comment -

            We need the Branch Names in the Raw Logs. We have various tools/log-formatters that parse through raw logs. Please put this back.

            Show
            tuttul Shah Chowdhury added a comment - We need the Branch Names in the Raw Logs. We have various tools/log-formatters that parse through raw logs. Please put this back.
            Hide
            simon_harrison Simon Harrison added a comment -

            Although this states "Resolved", we still have lost branch names from the logs after updating to version 2.80. This creates problems for us.

            Show
            simon_harrison Simon Harrison added a comment - Although this states "Resolved", we still have lost branch names from the logs after updating to version 2.80. This creates problems for us.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              corfr Bertrand Roussel
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: