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

Option to use the "local" project's name (no folder prefix)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: dashboard-view-plugin
    • Labels:
      None
    • Environment:
      Folder plugin 5.13, latest Jenkins
    • Similar Issues:

      Description

      Projects within  folders are always displayed with the Folder's path as a prefix, which sometimes defeat the purpose of carefully choosing "display names" for projects and make projects lists more difficult to read.

      Suggestion: add a new optional parameter in the folder's configuration, allowing to skip the folder's name when displaying embedded projects names. The parameter's value would default to false, allowing full backward compatibility with previous versions of the plugin.

      This would easily allow a greater flexibility in the way folders display their projects names, e.g. the same project – Ancestor/Parent/proj – being displayed depending on the parameter settings of folders Ancestor and Parent:

      Ancestor >> Parent >> proj
      Parent >> proj
      Ancestor >> proj
      proj

        Attachments

          Issue Links

            Activity

            pnobili Philippe Nobili created issue -
            pnobili Philippe Nobili made changes -
            Field Original Value New Value
            Summary Option to display the "local" job name Option to use the "local" project's name (no folder) prefix)
            pnobili Philippe Nobili made changes -
            Summary Option to use the "local" project's name (no folder) prefix) Option to use the "local" project's name (no folder prefix)
            pnobili Philippe Nobili made changes -
            Description The Folder plugins is great for organizing projects in a sensible way. 

            However, once projects have been moved into Folders, they seem to be always displayed with their *Folder's path* as a prefix, which defeats the purpose of carefully choosing "display names".

            An option to use "_relative_" or "_local_" names rather than "absolute" ones would be very useful and would allow to use jobs from folders within other types of views (BuildMonitor, DashBoard, etc).

            Thanks for this plugin anyway !
            Projects within  folders are always displayed with the *Folder's path* as a prefix, which sometimes defeat the purpose of carefully choosing "display names" for projects and make projects lists more difficult to read.

            *Suggestion:* add a new optional parameter in the folder's configuration, allowing to skip the folder's name when displaying embedded projects names. The parameter's value would default to _false_, allowing full backward compatibility with previous versions of the plugin.

            This would easily allow a greater flexibility in the way folders display their projects names, e.g. the same project – *Ancestor/Parent/proj* – being displayed depending on the parameter settings of folders *Ancestor* and *Parent*:
            {code:java}
            Ancestor >> Parent >> proj
            Parent >> proj
            Ancestor >> proj
            proj{code}
            pnobili Philippe Nobili made changes -
            Component/s build-monitor-plugin [ 17722 ]
            Component/s dashboard-view-plugin [ 15679 ]
            Component/s cloudbees-folder-plugin [ 18137 ]
            pnobili Philippe Nobili made changes -
            Component/s view-job-filters-plugin [ 15736 ]
            Hide
            pnobili Philippe Nobili added a comment -

            Kept the original description for the record; this is not related to cloudbee folder per-se.

            Seems more related to grouping jobs in views in general; there is a pull request (#81) related to build-monitor plugin that seems to be stuck in the pipes for some time.

            The same applies to other types of views (e.g. List view or Dashboard view); views can get difficult to read in presence of folders, except when created in the folder itself (but this is not always what you want...)

            Show
            pnobili Philippe Nobili added a comment - Kept the original description for the record; this is not related to cloudbee folder per-se. Seems more related to grouping jobs in views in general; there is a pull request ( #81 ) related to build-monitor plugin that seems to be stuck in the pipes for some time. The same applies to other types of views (e.g. List view or Dashboard view); views can get difficult to read in presence of folders, except when created in the folder itself (but this is not always what you want...)
            tgr Tobias Gruetzmacher made changes -
            Assignee Tobias Gruetzmacher [ tgr ]
            tgr Tobias Gruetzmacher made changes -
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            tgr Tobias Gruetzmacher made changes -
            Component/s build-monitor-plugin [ 17722 ]
            Component/s view-job-filters-plugin [ 15736 ]
            Hide
            tgr Tobias Gruetzmacher added a comment -

            I consider this a bug in dashboard-view-plugin. I removed the other components for now. Consider raising issues with the other plugins if similar issues exist there.

            Show
            tgr Tobias Gruetzmacher added a comment - I consider this a bug in dashboard-view-plugin. I removed the other components for now. Consider raising issues with the other plugins if similar issues exist there.
            pnobili Philippe Nobili made changes -
            Link This issue relates to JENKINS-62238 [ JENKINS-62238 ]
            Hide
            tgr Tobias Gruetzmacher added a comment -

            This should have been fixed in release 2.13, with this pull request:

            https://github.com/jenkinsci/dashboard-view-plugin/pull/66

            Show
            tgr Tobias Gruetzmacher added a comment - This should have been fixed in release 2.13, with this pull request: https://github.com/jenkinsci/dashboard-view-plugin/pull/66
            tgr Tobias Gruetzmacher made changes -
            Released As https://github.com/jenkinsci/dashboard-view-plugin/releases/tag/dashboard-view-2.13
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            tgr Tobias Gruetzmacher made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              Assignee:
              tgr Tobias Gruetzmacher
              Reporter:
              pnobili Philippe Nobili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: