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

URLs in Build-Monitor-Plugin view are broken if Cloudbees-Folders-Plugin is in use

      Using:
      Build Monitor Plugin version 1.4+build.102
      Cloudbees Folders plugin 4.2.1
      Jenkins 1.554.2

      We have many jobs hence we categorize them using subfolders using Cloudbees Folders plugin.

      The Builc Monitor View, if created at the top level, can't be configured to see the jobs at all. You get a blank view.
      If created at the subfolder level where the jobs exist, it can see them, but the links to each project is incorrect.

          [JENKINS-23506] URLs in Build-Monitor-Plugin view are broken if Cloudbees-Folders-Plugin is in use

          Ed Randall added a comment -

          A sub-folder URL containing some actual projects (jobs):
          http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/

          Link to a monitor view created at that sub-folder level:
          http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/view/XYZMonitor/

          Link from square on monitor view to a job:
          http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/view/XYZMonitor/job/Web.Projects.XYZ.trunk/job/xyz_server.checkin/
          But that link should actually be:
          http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/job/xyz_server.checkin/

          If I try to create and configure a view at the top level:
          http://hostname/view/XYZMonitor2/configure
          Only the folder "Web.Projects.XYZ.trunk" is offered as a "job", none of the real jobs are visible;
          Select it anyway and click OK; the view appears with text:
          It seems a bit empty here... Maybe you'd like to add some jobs to this monitor?
          The link takes you back to http://hostname/view/XYZMonitor2/configure

          Ed Randall added a comment - A sub-folder URL containing some actual projects (jobs): http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/ Link to a monitor view created at that sub-folder level: http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/view/XYZMonitor/ Link from square on monitor view to a job: http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/view/XYZMonitor/job/Web.Projects.XYZ.trunk/job/xyz_server.checkin/ But that link should actually be: http://hostname/view/Web.Projects/job/Web.Projects.XYZ.trunk/job/xyz_server.checkin/ If I try to create and configure a view at the top level: http://hostname/view/XYZMonitor2/configure Only the folder "Web.Projects.XYZ.trunk" is offered as a "job", none of the real jobs are visible; Select it anyway and click OK; the view appears with text: It seems a bit empty here... Maybe you'd like to add some jobs to this monitor? The link takes you back to http://hostname/view/XYZMonitor2/configure

          Jan Molak added a comment -

          Hi Ed and thanks for your feedback. Cloudbees folders plugin support was added in v1.5+build.117 - https://github.com/jan-molak/jenkins-build-monitor-plugin/releases

          Jan Molak added a comment - Hi Ed and thanks for your feedback. Cloudbees folders plugin support was added in v1.5+build.117 - https://github.com/jan-molak/jenkins-build-monitor-plugin/releases

          Jan Molak added a comment -

          Feature added in v1.5+build.117

          Jan Molak added a comment - Feature added in v1.5+build.117

            janek Jan Molak
            edrandall Ed Randall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: