[JIRA] (JENKINS-55137) No branch name in logs from parallel branches anymore?

3 views
Skip to first unread message

bertrand.roussel@cor-net.org (JIRA)

unread,
Dec 12, 2018, 3:01:02 AM12/12/18
to jenkinsc...@googlegroups.com
Bertrand Roussel created an issue
 
Jenkins / Bug JENKINS-55137
No branch name in logs from parallel branches anymore?
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-cps-plugin
Created: 2018-12-12 08:00
Priority: Major Major
Reporter: Bertrand Roussel

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bertrand.roussel@cor-net.org (JIRA)

unread,
Dec 12, 2018, 3:03:01 AM12/12/18
to jenkinsc...@googlegroups.com
Bertrand Roussel updated an issue
Change By: Bertrand Roussel
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:
{code}

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

'Before':
{noformat}

[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
{noformat}

Now:
{noformat}
{noformat} [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

{noformat}

eshepelyuk@gmail.com (JIRA)

unread,
Dec 12, 2018, 9:40:05 AM12/12/18
to jenkinsc...@googlegroups.com
Evgeny Shepelyuk commented on Bug JENKINS-55137
 
Re: No branch name in logs from parallel branches anymore?

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

dnusbaum@cloudbees.com (JIRA)

unread,
Dec 13, 2018, 2:27:03 PM12/13/18
to jenkinsc...@googlegroups.com
Devin Nusbaum resolved as Duplicate
 

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.

Change By: Devin Nusbaum
Status: Open Resolved
Resolution: Duplicate

tuttul13@gmail.com (JIRA)

unread,
Jul 10, 2019, 8:54:02 PM7/10/19
to jenkinsc...@googlegroups.com
Shah Chowdhury commented on Bug JENKINS-55137
 
Re: No branch name in logs from parallel branches anymore?

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

simon.harrison@ericsson.com (JIRA)

unread,
Mar 19, 2020, 7:24:03 AM3/19/20
to jenkinsc...@googlegroups.com

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

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages