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

Links between related jobs don't respect ancestory of the last loaded view

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It appears there is a bug that can be reproduced when using these three inter-related plugins to organize jobs on the Jenkins dashboard. To reproduce this problem do the following:

      1. install the 3 plugins mentioned in the "components" field of this issue
      2. create a new "nested" view, say "v1"
      3. create a sub-view under it, say "v2", of type "sectioned view"
      4. create 2 jobs, say "j1" and "j2", dependent on each other (ie: j1 triggers j2)
      5. Create a new section on your sectioned view that includes these two new jobs.
      6. Now, on the main dashboard, navigate to the root view then click on the "v1" view, then click on the "v2" view, then click on one of the jobs therein, "j1" say
      7. There is a link on this job under "Downstream Projects" to the other job, "j2" in this case. Click that. Notice that the bread-crumbs in the top left corner, which previously included all previously loaded views, no longer contains these entries. You can compare using the back/forward buttons on your browser.
      8. Now, click the corresponding link to job "j1" under the "Upstream Projects" section of "j2". Again you'll see there are no bread crumbs leading back to the view that you used to open the job.

      This is very tedious because if you have a cascading set of views within views, and you are navigating a complex job hierarchy as just described but with many jobs, you end up getting "lost", unable to return to the view you started with. The only recourse is to go back to the main dashboard and re-navigate your way through the views back to the one you started with - which is tedious at best.

      Now, I'm not sure which plugin is causing this bug so I added all 3 related plugins to the defect. However, it is worth noting that if you repeat all of the above steps exactly, but choose a default view (say, "list view") instead of the "sectioned view" in step 3, the problem goes away, which suggests it is a problem with the sectioned view plugin - but that is just a guess.

        Attachments

          Activity

          Hide
          leedega Kevin Phillips added a comment -

          Strange - I just managed to reproduce the error even when using a "list view" style sub-view instead of the sectioned view in step 3. I'm not sure how my two test configurations differ, but the behavior is definitely inconsistent

          Show
          leedega Kevin Phillips added a comment - Strange - I just managed to reproduce the error even when using a "list view" style sub-view instead of the sectioned view in step 3. I'm not sure how my two test configurations differ, but the behavior is definitely inconsistent
          Hide
          leedega Kevin Phillips added a comment -

          Actually, come to think of it, one difference here is that I created my new views under "My Views", which I believe is a feature added by yet another plugin - Hudson Personal View plugin (of which I'm using version 1.8).

          So, what I'm guessing here is that any plugin that affects a Jenkins view in any way may somehow adversely affect the links generated by the "downstream build view" plugin.

          Show
          leedega Kevin Phillips added a comment - Actually, come to think of it, one difference here is that I created my new views under "My Views", which I believe is a feature added by yet another plugin - Hudson Personal View plugin (of which I'm using version 1.8). So, what I'm guessing here is that any plugin that affects a Jenkins view in any way may somehow adversely affect the links generated by the "downstream build view" plugin.

            People

            • Assignee:
              shinodkm shinodkm
              Reporter:
              leedega Kevin Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: