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

"Last Console" button does not work for jobs inside a folder

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • extra-columns-plugin
    • None
    • Jenkins v2.175
      Folders plugin 6.8 (latest)
      Extra Columns Plugin v1.20 (latest)

      The "Last Console" button always links to /job/$job_name/lastBuild/console.
      This gives a 404 for jobs in folders.

      For jobs inside folders it should rather link to /job/$folder/job/$job_name/lastBuild/console.

          [JENKINS-57323] "Last Console" button does not work for jobs inside a folder

          Micky Meyers created issue -
          Micky Meyers made changes -
          Description Original: It always links to */job/_$job_name_/lastBuild/console*.
          This doesn't work for jobs in folders.

          For jobs inside folders it should rather link to */job/_$folder_/job/_$job_name_/lastBuild/console*.
          New: The "Last Console" button always links to */job/_$job_name_/lastBuild/console*.
           This doesn't work for jobs in folders.

          For jobs inside folders it should rather link to */job/_$folder_/job/_$job_name_/lastBuild/console*.
          Micky Meyers made changes -
          Description Original: The "Last Console" button always links to */job/_$job_name_/lastBuild/console*.
           This doesn't work for jobs in folders.

          For jobs inside folders it should rather link to */job/_$folder_/job/_$job_name_/lastBuild/console*.
          New: The "Last Console" button always links to */job/_$job_name_/lastBuild/console*.
           This gives a 404 for jobs in folders.

          For jobs inside folders it should rather link to */job/_$folder_/job/_$job_name_/lastBuild/console*.

          Fred G added a comment -

          I've tried to reproduce this issue with Jenkins v.2.138.4 and Folders plugin 6.9.

          1. I've created a folder and a job ("folder_job") in it. I ran the job once to get a "last console" button.
          2. On the main dashboard I can only see the "folder_job" if I enable the "Recurse in subfolders" option under Edit View => Job Filters.
          3. The "last console" button works as expected.
          4. In the test folder I've also created a new view, in which I enabled the "last console" column.
          5. The "last console" button works as expected.

          Since I might have missed something, can you describe in detail how your issue can be reproduced?

          Fred G added a comment - I've tried to reproduce this issue with Jenkins v.2.138.4 and Folders plugin 6.9. I've created a folder and a job ("folder_job") in it. I ran the job once to get a "last console" button. On the main dashboard I can only see the "folder_job" if I enable the "Recurse in subfolders" option under Edit View => Job Filters. The "last console" button works as expected. In the test folder I've also created a new view, in which I enabled the "last console" column. The "last console" button works as expected. Since I might have missed something, can you describe in detail how your issue can be reproduced?
          Fred G made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Fred G made changes -
          Assignee Original: Fred G [ fredg ] New: Micky Meyers [ micky ]
          Fred G made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Fred G made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            micky Micky Meyers
            micky Micky Meyers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: