-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 1.609.1 on both MacOS and Linux
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.
- 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-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-38204 SVN plugin show all checkouts twice in pipeline project
-
- Resolved
-
-
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
The multiple Git Build Data links is a known issue; possibly a bug in the Git plugin, needs to be investigated. In general if a plugin was expecting something it ran to only ever be called once per build, but from a workflow it is potentially called multiple times, then it needs to be modified to make sure it does not call Run.addAction multiple times on the same build with the same class of action unless this is really intentional (for example if each instance has a distinctive displayName).
If you see duplicated sidebar links of another kind, better to file a separate issue, with steps to reproduce if possible.