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

Folders don't show up in dashboard view after upgrade

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • dashboard-view-plugin
    • None
    • Jenkins 2.7, Dashboard 2.9.10, Folder 5.11

      After upgrading Jenkins from 1.658 to 2.7 and Dashboard View Plugin from 2.9.7 to 2.9.10, the folders do not appear in a job list created in the Dashboard View.
      Steps to reproduce :

      • Jenkins with Folder and Dashboard plugins
      • Create a folder
      • Create a dashboard view and use regular expression ".*" to include all jobs.

      Playing with other filters, or manually selecting the folders to display doesn't work either.

          [JENKINS-35414] Folders don't show up in dashboard view after upgrade

          Having the same the same issue. Any due dates for fix?

          Roman Liashenko added a comment - Having the same the same issue. Any due dates for fix?

          Here the same bug. any news to this issue?

          Niko Madalinski added a comment - Here the same bug. any news to this issue?

          please fix this

          Thomas Leufkes added a comment - please fix this

          Piyush Jalan added a comment -

          I am also facing same issue. There is an exception on dashboard and no folder is visible.

          Piyush Jalan added a comment - I am also facing same issue. There is an exception on dashboard and no folder is visible.

          Bruno Bieri added a comment - - edited

          I experience the same issue.
          After investigations I guess one of the following fixes is causing the folders to disappear:

          Ensure that ${jobs} is really a Collection<Job>
          https://github.com/evandy0/dashboard-view-plugin/commit/18ef5137e8aba0d50e0fc256171ddf06ecf106af

          [FIXED JENKINS-21578] Ensure that ${jobs} is really a Collection<Job>
          https://github.com/jenkinsci/dashboard-view-plugin/commit/baa8c5043072c6cc7a3cf44f002d55befd86f1c5

          Workaround
          As a temporary workaround you could check the checkbox `Recurse in subfolders` on your view and you would be able to select jobs within your `Folder` project. It also works if you use Regex for your view.

          Bruno Bieri added a comment - - edited I experience the same issue. After investigations I guess one of the following fixes is causing the folders to disappear: Ensure that ${jobs} is really a Collection<Job> https://github.com/evandy0/dashboard-view-plugin/commit/18ef5137e8aba0d50e0fc256171ddf06ecf106af [FIXED JENKINS-21578] Ensure that ${jobs} is really a Collection<Job> https://github.com/jenkinsci/dashboard-view-plugin/commit/baa8c5043072c6cc7a3cf44f002d55befd86f1c5 Workaround As a temporary workaround you could check the checkbox `Recurse in subfolders` on your view and you would be able to select jobs within your `Folder` project. It also works if you use Regex for your view.

          shashank jain added a comment -

          not resolved facing same problem still

          shashank jain added a comment - not resolved facing same problem still

          Michael Mraz added a comment -

          Experiencing this same issue with Dashboard View 2.10, Jenkins 2.164.1

           

          I removed the Last Success Version plugin as its added column doesn't produce a working link any longer.  But, uninstalling the plugin left the default All view with the broken column.  I tried to replace the default view with a simple Job List but cannot get the nested folder structure provided by the default All view due to this issue.

           

          Michael Mraz added a comment - Experiencing this same issue with Dashboard View 2.10, Jenkins 2.164.1   I removed the Last Success Version plugin as its added column doesn't produce a working link any longer.  But, uninstalling the plugin left the default All view with the broken column.  I tried to replace the default view with a simple Job List but cannot get the nested folder structure provided by the default All view due to this issue.  

          Yuriy Inetov added a comment - - edited

          why was this bug with priority "minor"?
          this is an important problem - it is impossible to display folders on the dashboard in any convenient way.

          Yuriy Inetov added a comment - - edited why was this bug with priority "minor"? this is an important problem - it is impossible to display folders on the dashboard in any convenient way.

          sergio costa added a comment - - edited

          Same issue here with Jenkins 2.289.3 , Dashboard View 2.17 and Folders 6.16.
          Folders in view are not visible after adding them in configuration.

          Only if I use the "Recurse in subfolders", I can see the sub-jobs but this is not what I want.

          sergio costa added a comment - - edited Same issue here with Jenkins 2.289.3  ,  Dashboard View 2.17 and Folders 6.16 . Folders in view are not visible after adding them in configuration. Only if I use the "Recurse in subfolders", I can see the sub-jobs but this is not what I want.

          Yaroslav Berezhinskiy added a comment - - edited

          We are using multibranch pipeline for GitHub pull requests. It is not possible to create a dashboard view with multibranch pipeline job. From my point of view, this issue should not be a Minor priority.

          Yaroslav Berezhinskiy added a comment - - edited We are using multibranch pipeline for GitHub pull requests. It is not possible to create a dashboard view with multibranch pipeline job. From my point of view, this issue should not be a Minor priority.

            tgr Tobias Gruetzmacher
            eguerints Emmanuel Guérin
            Votes:
            10 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: