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

incorrect display of folder contents in list-jobs output

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hello!
      For example, my project structure:

      folder_1/folder_1_1/job_1_1
      folder_1/folder_1_2/job_1_2
      folder_1/job_1
      folder_2/folder_2_1/job_2_1
      folder_2/folder_2_2/job_2_2
      folder_2/job_2

       When i run "list-jobs" command with no parameters, the root folder is displayed correctly:

      ssh jcli list-jobs
      folder_1
      folder_2
      

      But when i run "list-jobs" command for a folder, i see:

      ssh jcli list-jobs folder_1
      folder_1_1
      job_1_1
      folder_1_2
      job_1_2
      job_1
      

      instead

      ssh jcli list-jobs folder_1
      folder_1_1
      folder_1_2
      job_1
      

      is it a bug? or am I doing something wrong?
      thank you in advance

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Maybe a bug in ListJobsCommand, not sure offhand.

          Show
          jglick Jesse Glick added a comment - Maybe a bug in ListJobsCommand , not sure offhand.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Seems to be a newbie-friendly issue for the core,
          ListJobsCommand is a part of the core codebase

          Show
          oleg_nenashev Oleg Nenashev added a comment - Seems to be a newbie-friendly issue for the core, ListJobsCommand is a part of the core codebase
          Hide
          v2v Victor Martinez added a comment -

          As far as I see this particular behaviour has been there for a while:

          Show
          v2v Victor Martinez added a comment - As far as I see this particular behaviour has been there for a while: commit JENKINS-18393
          Hide
          jglick Jesse Glick added a comment -
          Show
          jglick Jesse Glick added a comment - CC Oliver Gondža
          Hide
          theli Vyacheslav Bogachenkov added a comment -

          this behavior still persists in lts

          Show
          theli Vyacheslav Bogachenkov added a comment - this behavior still persists in lts

            People

            • Assignee:
              v2v Victor Martinez
              Reporter:
              theli Vyacheslav Bogachenkov
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: