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

Workflow sidebar has duplicated Git Build Data links

    XMLWordPrintable

Details

    Description

      In a Workflow build, if you use certain resources in >1 node, you get duplication of the links in the left navigation pane when you look at the info page for a build that has already run. To reproduce, install the Workflow plugin, create a new Workflow job, and give it a configuration like:

      node {
        git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
      }
      node {
        git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
      }
      node {
        git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
      }
      

      Each time you use the git resource within a new node, it causes duplication of the nav items as shown in the attached screenshot. This issue is not confined to the workflow+git combination. I have also seen it with the 'Show Build Parameters' plugin, where there is duplication of the Parameters link in the nav pane, but I can't seem to reproduce that issue consistently. I suspect that other plugins which add something to the nav field on a per-job basis could have similar issues.

      I'm attaching a support bundle from my MacOS test Jenkins server, and also a build.xml that shows the issue.

      Attachments

        1. build.xml
          10 kB
        2. jenkins.log
          11 kB
        3. Screen Shot 2015-07-09 at 12.01.47 PM.png
          Screen Shot 2015-07-09 at 12.01.47 PM.png
          129 kB
        4. Screen Shot 2017-10-26 at 9.53.46 am.png
          Screen Shot 2017-10-26 at 9.53.46 am.png
          17 kB
        5. support.zip
          31 kB

        Issue Links

          Activity

            owenmehegan Owen Mehegan created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Component/s core [ 15593 ]
            jglick Jesse Glick made changes -
            Summary Workflow job build view has duplicate items in left navigation list Workflow sidebar has duplicated Git Build Data links
            jglick Jesse Glick made changes -
            Description In a Workflow build, if you use certain resources in >1 node, you get duplication of the links in the left navigation pane when you look at the info page for a build that has already run. To reproduce, install the Workflow plugin, create a new Workflow job, and give it a configuration like:

            node {
              git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
            }
            node {
              git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
            }
            node {
              git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
            }

            Each time you use the git resource within a new node, it causes duplication of the nav items as shown in the attached screenshot. This issue is not confined to the workflow+git combination. I have also seen it with the 'Show Build Parameters' plugin, where there is duplication of the Parameters link in the nav pane, but I can't seem to reproduce that issue consistently. I suspect that other plugins which add something to the nav field on a per-job basis could have similar issues.

            I'm attaching a support bundle from my MacOS test Jenkins server, and also a build.xml that shows the issue.
            In a Workflow build, if you use certain resources in >1 node, you get duplication of the links in the left navigation pane when you look at the info page for a build that has already run. To reproduce, install the Workflow plugin, create a new Workflow job, and give it a configuration like:

            {code}
            node {
              git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
            }
            node {
              git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
            }
            node {
              git branch: "master", credentialsId: '', url: 'git@mygitrepo/project.git'
            }
            {code}

            Each time you use the git resource within a new node, it causes duplication of the nav items as shown in the attached screenshot. This issue is not confined to the workflow+git combination. I have also seen it with the 'Show Build Parameters' plugin, where there is duplication of the Parameters link in the nav pane, but I can't seem to reproduce that issue consistently. I suspect that other plugins which add something to the nav field on a per-job basis could have similar issues.

            I'm attaching a support bundle from my MacOS test Jenkins server, and also a build.xml that shows the issue.
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-29840 [ JENKINS-29840 ]
            owenmehegan Owen Mehegan made changes -
            Component/s git-plugin [ 15543 ]
            Assignee Jesse Glick [ jglick ] Mark Waite [ markewaite ]
            jglick Jesse Glick made changes -
            Component/s git-plugin [ 15543 ]
            Assignee Mark Waite [ markewaite ] Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-30491 [ JENKINS-30491 ]
            jglick Jesse Glick made changes -
            Labels multibranch
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-30985 [ JENKINS-30985 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-31079 [ JENKINS-31079 ]
            abayer Andrew Bayer made changes -
            Assignee Jesse Glick [ jglick ] Andrew Bayer [ abayer ]
            Labels multibranch community-bee multibranch
            abayer Andrew Bayer made changes -
            Link This issue is duplicated by JENKINS-29840 [ JENKINS-29840 ]
            abayer Andrew Bayer made changes -
            Link This issue is blocking JENKINS-29840 [ JENKINS-29840 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-30985 [ JENKINS-30985 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "git PR 372 (Web Link)" [ 13600 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "workflow PR 271 (Web Link)" [ 13601 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            deepchip Martin d'Anjou made changes -
            Attachment jenkins.log [ 31662 ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "git PR 388 (Web Link)" [ 14105 ]
            jglick Jesse Glick made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 164199 ] JNJira + In-Review [ 197446 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-37384 [ JENKINS-37384 ]
            trejkaz trejkaz made changes -
            medianick Nick Jones made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            ulidtko Max M made changes -
            Link This issue is related to JENKINS-49776 [ JENKINS-49776 ]
            ulidtko Max M made changes -
            Link This issue is related to JENKINS-39233 [ JENKINS-39233 ]
            ulidtko Max M made changes -
            Link This issue is related to JENKINS-38204 [ JENKINS-38204 ]
            ulidtko Max M made changes -
            Link This issue is related to JENKINS-45269 [ JENKINS-45269 ]
            ulidtko Max M made changes -
            Link This issue is related to JENKINS-46916 [ JENKINS-46916 ]
            ulidtko Max M made changes -
            Link This issue is related to JENKINS-26012 [ JENKINS-26012 ]
            vivek Vivek Pandey made changes -
            Labels community-bee multibranch community-bee multibranch triaged-2018-11
            abayer Andrew Bayer made changes -
            Assignee Andrew Bayer [ abayer ]

            People

              Unassigned Unassigned
              owenmehegan Owen Mehegan
              Votes:
              28 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

                Created:
                Updated: