[JIRA] (JENKINS-54763) Branch name disappear after plugin upgrade (>= 2.26)

2 views
Skip to first unread message

s5unty@gmail.com (JIRA)

unread,
Nov 22, 2018, 1:18:03 AM11/22/18
to jenkinsc...@googlegroups.com
Vern Sun created an issue
 
Jenkins / Bug JENKINS-54763
Branch name disappear after plugin upgrade (>= 2.26)
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: ng.png, ok.png
Components: workflow-job-plugin
Created: 2018-11-22 06:17
Environment: Jenkins ver. 2.138.3
Labels: plugin pipeline
Priority: Trivial Trivial
Reporter: Vern Sun

In my case, the IP address(ok.png) cannot be displayed after the upgrade(ng.png).
I know this is a compatibility issue, after 2.26.
I just hope that this problem can be solved in the future.

Jenkinsfile

            stage('Release') {
                def progress = [:];
                progress['___10.168.2.164 甲'] = {
                    node("nj-mes-man-prod")    { do_offline(1); do_deploy(); do_online(1) }
                }
                progress['______10.1.2.65 乙'] = {
                    node("nj-mes-man-2-pe")    { do_offline(2); do_deploy(); do_online(2) }
                }
                progress['_____10.1.2.164 丙'] = {
                    node("nj-mes-man-3-pe")    { do_offline(3); do_deploy(); do_online(3) }
                }
                progress['______10.1.2.69 丁'] = {
                    node("nj-mes-man-4-pe")    { do_offline(4); do_deploy(); do_online(4) }
                }

                parallel progress
            }

Diff

Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
    % git di workflow-job-2.25 workflow-job-2.26-beta-1
    ...(略)
    -                    String prefix = getBranchName(node);
    -                    if (prefix != null) {
 @@ -                        logger = new LogLinePrefixOutputFilter(getListener().getLogger(), "[" + prefix + "] ");
    -                    } else {
    -                        logger = getListener().getLogger();
    -                    }
    ...(略)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

s5unty@gmail.com (JIRA)

unread,
Nov 22, 2018, 1:19:02 AM11/22/18
to jenkinsc...@googlegroups.com
Vern Sun updated an issue
Change By: Vern Sun
In my case, the IP address(ok.png) cannot be displayed after the upgrade(ng.png).
I know this is a compatibility issue, after 2.26.
I just hope that this problem can be solved in the future.

*Jenkinsfile*
{code:java}

            stage('Release') {
                def progress = [:];
                progress['___10.168.2.164 甲'] = {
                    node("nj-mes-man-prod")    { do_offline(1); do_deploy(); do_online(1) }
                }
                progress['______10.1.2.65 乙'] = {
                    node("nj-mes-man-2-pe")    { do_offline(2); do_deploy(); do_online(2) }
                }
                progress['_____10.1.2.164 丙'] = {
                    node("nj-mes-man-3-pe")    { do_offline(3); do_deploy(); do_online(3) }
                }
                progress['______10.1.2.69 丁'] = {
                    node("nj-mes-man-4-pe")    { do_offline(4); do_deploy(); do_online(4) }
                }

                parallel progress
            }
{code}

*Diff*
{code
:diff }

    % git di workflow-job-2.25 workflow-job-2.26-beta-1
    ...(略)
    -                    String prefix = getBranchName(node);
    -                    if (prefix != null) {
@@ -                     logger = new LogLinePrefixOutputFilter(getListener().getLogger(), "[" + prefix + "] ");
    -                    } else {
    -                     logger = getListener().getLogger();
    -                    }
    ...(略)
{code}

vivek.pandey@gmail.com (JIRA)

unread,
Nov 26, 2018, 12:58:02 PM11/26/18
to jenkinsc...@googlegroups.com

vivek.pandey@gmail.com (JIRA)

unread,
Nov 26, 2018, 12:58:03 PM11/26/18
to jenkinsc...@googlegroups.com
Vivek Pandey updated an issue
Change By: Vivek Pandey
Labels: pipeline plugin triaged-2018-11

jglick@cloudbees.com (JIRA)

unread,
Nov 27, 2018, 9:35:01 AM11/27/18
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Duplicate
Change By: Jesse Glick
Status: Open Resolved
Resolution: Duplicate

tuttul13@gmail.com (JIRA)

unread,
Jul 10, 2019, 8:53:02 PM7/10/19
to jenkinsc...@googlegroups.com
Shah Chowdhury commented on Bug JENKINS-54763
 
Re: Branch name disappear after plugin upgrade (>= 2.26)

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

Reply all
Reply to author
Forward
0 new messages