Details
-
Type:
Bug
-
Status: Reopened (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: pipeline
-
Labels:
-
Environment:Jenkins 1.609.1 on both MacOS and Linux
-
Similar Issues:
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
Issue Links
- is blocking
-
JENKINS-29840 when workflow uses multiple git repos the "git build data" and "tags" become next to useless.
-
- Open
-
-
JENKINS-30985 Jobs with the same git repository defined several times in the scm should be triggered only once
-
- Resolved
-
- is duplicated by
-
JENKINS-30491 Duplicate SCM changes when using Multibranch Workflow job
-
- Resolved
-
-
JENKINS-31079 Duplicated changes when running a Workflow script from SCM
-
- Closed
-
- is related to
-
JENKINS-26012 Multuple "Parameters" links
-
- Open
-
-
JENKINS-38204 SVN plugin show all checkouts twice in pipeline project
-
- Open
-
-
JENKINS-39233 Duplicate "Tag this build" links in Pipeline
-
- Open
-
-
JENKINS-46916 duplicate links on left nav with project inheritance plugin and pipeline jobs
-
- Open
-
-
JENKINS-49776 Multiple duplicate "Label This Build" links in workflow sidebar for Pipeline project with P4
-
- Open
-
-
JENKINS-45269 Multiple "Open Blue Ocean" links in the sidebar
-
- Closed
-
-
JENKINS-30985 Jobs with the same git repository defined several times in the scm should be triggered only once
-
- Resolved
-
- relates to
-
JENKINS-37384 Changes view issues using Mercurial with Multibranch pipeline
-
- Open
-
- links to
May I ask why is this Priority: Minor?
Can this be escalated?
There are like dozens of duplicates of this issue (see e.g. JENKINS-38204 – the SVN lineage of dupes), and it looks like it's getting "fixed", then broken, then fixed again, then broken again... Is this an architectural problem in Jenkins?
Can anybody fix this once-and-for-all?