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
          allanc Allan C added a comment -

          Victor Martinez Thank you. I wonder if anyone can offer some advice regarding which part of the core I should look into. Are there any documentations that I should be aware of? 

          Show
          allanc Allan C added a comment - Victor Martinez Thank you. I wonder if anyone can offer some advice regarding which part of the core I should look into. Are there any documentations that I should be aware of? 
          Hide
          vishalghyv Vishal added a comment -

          Hey, Allan C  I would like to work on this for next few days Hope it's not a problem, I am assigning myself to it, If I am not able to fix, I will reassign you.

          Show
          vishalghyv Vishal added a comment - Hey, Allan C   I would like to work on this for next few days Hope it's not a problem, I am assigning myself to it, If I am not able to fix, I will reassign you.
          Hide
          vishalghyv Vishal added a comment -

          Jobs are listing as expected

          Show
          vishalghyv Vishal added a comment - Jobs are listing as expected
          Hide
          jglick Jesse Glick added a comment -

          Cannot be Fixed when there is no linked fix. Did you mean Works for me or similar?

          Show
          jglick Jesse Glick added a comment - Cannot be Fixed when there is no linked fix. Did you mean Works for me or similar?
          Hide
          vishalghyv Vishal added a comment - - edited

          Right, It shouldn't be closed,
          But for discussion kindly see Issue

          The issue have committed changes
          It seems that the issue have been fixed there, also yes while testing the exact same configuration it worked for me see Pull request

          Show
          vishalghyv Vishal added a comment - - edited Right, It shouldn't be closed, But for discussion kindly see Issue The issue have committed changes It seems that the issue have been fixed there, also yes while testing the exact same configuration it worked for me see Pull request

            People

            Assignee:
            vishalghyv Vishal
            Reporter:
            theli Vyacheslav Bogachenkov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: