[JIRA] (JENKINS-53267) Usage plugin does not handle duplicate jobNames in folder paths properly.

4 views
Skip to first unread message

ian.williams1@telus.com (JIRA)

unread,
Aug 27, 2018, 7:50:02 PM8/27/18
to jenkinsc...@googlegroups.com
Ian Williams created an issue
 
Jenkins / Bug JENKINS-53267
Usage plugin does not handle duplicate jobNames in folder paths properly.
Issue Type: Bug Bug
Assignee: Unassigned
Components: plugin-usage-plugin
Created: 2018-08-27 23:49
Environment: Jenkins-2.121.3
cloudbees-folder-6.4
plugin-usage-plugin-0.4
Priority: Minor Minor
Reporter: Ian Williams

Plugin usage only reports last job where job has duplicate names

This is a problem if you have two jobs with same name in different folders.

Steps to recreate:
Add plugins, Create 2 folders (admin/Sandbox/Job1, admin/Verify/Job1)

Inside each folder, create a job "Job1", with a plugin.

Check Plugin Usage.

Only see: Job1 http://${JENKISN_URL}/job/admin/job/Verify/job/Job1

Delete the one reported found job, Check Plugin Usage.

Only see: Only see: Job1 http://${JENKISN_URL}/job/admin/job/Sandbox/job/Job1

 

Note: Not convinced Jenkins should allow multiple jobs w/ same name (ie: what happens when you move to same location), but it does, so plugin should handle properly.

1) Report fullName (ie w/folder path)

2) Report all jobs as a result with a correct Job count.

 

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

froque@premium-minds.com (JIRA)

unread,
Nov 7, 2019, 6:54:02 PM11/7/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages