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

          Emmanuel Guérin created issue -

          Nick Jones added a comment -

          Same problem here with Dashboard View 2.9.10. It doesn't seem to be related to how the jobs are chosen for the view (regular expression or explicitly chosen list via checkboxes) – neither works. I downgraded to 2.9.7, which I'd been running previously, and Folders reappeared.

          Nick Jones added a comment - Same problem here with Dashboard View 2.9.10. It doesn't seem to be related to how the jobs are chosen for the view (regular expression or explicitly chosen list via checkboxes) – neither works. I downgraded to 2.9.7, which I'd been running previously, and Folders reappeared.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171708 ] New: JNJira + In-Review [ 184421 ]

          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.
          Tobias Gruetzmacher made changes -
          Assignee Original: Evan Van Dyke [ vandyev ] New: Tobias Gruetzmacher [ tgr ]

          shashank jain added a comment -

          not resolved facing same problem still

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

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

              Created:
              Updated: