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

Initial Job for Pipelines Components cannot see jobs in 3rd level Folder

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.161
      Delivery Pipeline Plugin 1.3.2
      Host OS: Ubuntu Trusty
    • Similar Issues:

      Description

      I'm converting bunch of legacy projects in freestyle jobs from other Jenkins master to centralised one. Trying to keep things tidy I tend to put jobs into project specific folders.

      So hence my main view looks like this:

      • FOLDER 1
      • FOLDER 2
      • FOLDER x
      • Cleaning job

      See the screenshots below:

      Main dashboard in a Folder 2 in a Folder 3 in a subfolder of Folder 3

      And inside the FOLDER 3 (aka G), there are another 3 folders and in those folders there are bunch of Pipeline jobs.

      When I attempt to create Delivery Pipeline View under one of those subfolders, the pipelines Components for selection from Initial Job dropdown list doesn't contains any pipeline from the nested sub-sub folder.

      Steps to reproduce

      Assumption

      The following folder hierarchy and pipelines exists:

      • Folder G
        • Folder A
          • Pipeline A Trunk A
          • Pipeline A Trunk B
          • Pipeline A Trunk Core
      1. Navigate to the folder Jenkins > G > A folder as possible to see on the figure below:
      2. There I click the little to create a new view and choose Delivery Pipeline View
      3. Fill up all necessary details and scroll at the bottom of the config page
      4. Under Pipelines click Add button for Components
        1. Give it a name
        2. Click on Initial Job dropdown list.

      Expected Results

      • I can see all the pipelines/job existing in my Jenkins instance, including:
        • G >> A >> Pipeline A Trunk A
        • G >> A >> Pipeline A Trunk B
        • G >> A >> Pipeline A Trunk C...
      • I can select any of the existing jobs

      Actual Results

      • I cannot see pipelines from the sub-sub-nested Folder, in my case: G > A
        • Pipeline A Trunk A
        • Pipeline A Trunk B
        • Pipeline A Trunk Core

      See screenshot below

       

        Attachments

        1. JNK-1.png
          JNK-1.png
          45 kB
        2. JNK-2.png
          JNK-2.png
          39 kB
        3. JNK-3.png
          JNK-3.png
          40 kB
        4. JNK-4.png
          JNK-4.png
          47 kB
        5. JNK-5.png
          JNK-5.png
          83 kB

          Activity

          delphym Daniel Mladek created issue -
          delphym Daniel Mladek made changes -
          Field Original Value New Value
          Description I'm converting bunch of legacy projects in freestyle jobs from other Jenkins master to centralised one. Trying to keep things tidy I tend to put jobs into project specific folders.

          So hence my main view looks like this:
           * FOLDER 1
           * FOLDER 2
           * FOLDER x
           * Cleaning job

          See the screenshots below:
          ||Main dashboard||in a Folder 2||in a Folder 3||in a subfolder of Folder 3||
          |!JNK-1.png!|!JNK-2.png!|!JNK-3.png!|!JNK-4.png!|

          And inside the FOLDER 3 (aka {{G}}), there are another 3 folders and in those folders there are bunch of Pipeline jobs.

          When I attempt to create *Delivery Pipeline View* under one of those subfolders, the pipelines Components for selection from *Initial Job* dropdown list doesn't contains any pipeline from the nested sub-sub folder.
          h3. Steps to reproduce
          h4. Assumption

          The following folder hierarchy and pipelines exists:
           * Folder *G*
           ** Folder *A*
           *** Pipeline A Trunk A
           *** Pipeline A Trunk B
           *** Pipeline A Trunk Core

           # Navigate to the folder {{Jenkins > G > A}} folder as possible to see on the figure below:
           !JNK-4.png!
           # There I click the little (+) to create a new view and choose *Delivery Pipeline View*
           # Fill up all necessary details and scroll at the bottom of the config page
           # Under *Pipelines* click *Add* button for *Components*
           ## Give it a name
           ## Click on *Initial Job* dropdown list.

          h3. Expected Results
           * I can see all the pipelines/job existing in my Jenkins instance, including:
           ** {{G >> A >> Pipeline A Trunk A}}
           ** {{G >> A >> Pipeline A Trunk B}}
           ** {{G >> A >> Pipeline A Trunk C...}}
           * I can select any of the existing jobs

          h3. Actual Results
           * I cannot see pipelines from the sub-sub-nested Folder, in my case: {{G > A}}
           ** Pipeline A Trunk A
           ** Pipeline A Trunk B
           ** Pipeline A Trunk Core

          See screenshot below
          !JNK-5.png!

           
          I'm converting bunch of legacy projects in freestyle jobs from other Jenkins master to centralised one. Trying to keep things tidy I tend to put jobs into project specific folders.

          So hence my main view looks like this:
           * FOLDER 1
           * FOLDER 2
           * FOLDER x
           * Cleaning job

          See the screenshots below:
          ||Main dashboard||in a Folder 2||in a Folder 3||in a subfolder of Folder 3||
          |!JNK-1.png|width=204,height=112!|!JNK-2.png|width=205,height=124!|!JNK-3.png|width=204,height=110!|!JNK-4.png|width=204,height=108!|

          And inside the FOLDER 3 (aka {{G}}), there are another 3 folders and in those folders there are bunch of Pipeline jobs.

          When I attempt to create *Delivery Pipeline View* under one of those subfolders, the pipelines Components for selection from *Initial Job* dropdown list doesn't contains any pipeline from the nested sub-sub folder.
          h3. Steps to reproduce
          h4. Assumption

          The following folder hierarchy and pipelines exists:
           * Folder *G*
           ** Folder *A*
           *** Pipeline A Trunk A
           *** Pipeline A Trunk B
           *** Pipeline A Trunk Core

           # Navigate to the folder {{Jenkins > G > A}} folder as possible to see on the figure below:
           !JNK-4.png!
           # There I click the little (+) to create a new view and choose *Delivery Pipeline View*
           # Fill up all necessary details and scroll at the bottom of the config page
           # Under *Pipelines* click *Add* button for *Components*
           ## Give it a name
           ## Click on *Initial Job* dropdown list.

          h3. Expected Results
           * I can see all the pipelines/job existing in my Jenkins instance, including:
           ** {{G >> A >> Pipeline A Trunk A}}
           ** {{G >> A >> Pipeline A Trunk B}}
           ** {{G >> A >> Pipeline A Trunk C...}}
           * I can select any of the existing jobs

          h3. Actual Results
           * I cannot see pipelines from the sub-sub-nested Folder, in my case: {{G > A}}
           ** Pipeline A Trunk A
           ** Pipeline A Trunk B
           ** Pipeline A Trunk Core

          See screenshot below
           !JNK-5.png!

           
          delphym Daniel Mladek made changes -
          Description I'm converting bunch of legacy projects in freestyle jobs from other Jenkins master to centralised one. Trying to keep things tidy I tend to put jobs into project specific folders.

          So hence my main view looks like this:
           * FOLDER 1
           * FOLDER 2
           * FOLDER x
           * Cleaning job

          See the screenshots below:
          ||Main dashboard||in a Folder 2||in a Folder 3||in a subfolder of Folder 3||
          |!JNK-1.png|width=204,height=112!|!JNK-2.png|width=205,height=124!|!JNK-3.png|width=204,height=110!|!JNK-4.png|width=204,height=108!|

          And inside the FOLDER 3 (aka {{G}}), there are another 3 folders and in those folders there are bunch of Pipeline jobs.

          When I attempt to create *Delivery Pipeline View* under one of those subfolders, the pipelines Components for selection from *Initial Job* dropdown list doesn't contains any pipeline from the nested sub-sub folder.
          h3. Steps to reproduce
          h4. Assumption

          The following folder hierarchy and pipelines exists:
           * Folder *G*
           ** Folder *A*
           *** Pipeline A Trunk A
           *** Pipeline A Trunk B
           *** Pipeline A Trunk Core

           # Navigate to the folder {{Jenkins > G > A}} folder as possible to see on the figure below:
           !JNK-4.png!
           # There I click the little (+) to create a new view and choose *Delivery Pipeline View*
           # Fill up all necessary details and scroll at the bottom of the config page
           # Under *Pipelines* click *Add* button for *Components*
           ## Give it a name
           ## Click on *Initial Job* dropdown list.

          h3. Expected Results
           * I can see all the pipelines/job existing in my Jenkins instance, including:
           ** {{G >> A >> Pipeline A Trunk A}}
           ** {{G >> A >> Pipeline A Trunk B}}
           ** {{G >> A >> Pipeline A Trunk C...}}
           * I can select any of the existing jobs

          h3. Actual Results
           * I cannot see pipelines from the sub-sub-nested Folder, in my case: {{G > A}}
           ** Pipeline A Trunk A
           ** Pipeline A Trunk B
           ** Pipeline A Trunk Core

          See screenshot below
           !JNK-5.png!

           
          I'm converting bunch of legacy projects in freestyle jobs from other Jenkins master to centralised one. Trying to keep things tidy I tend to put jobs into project specific folders.

          So hence my main view looks like this:
           * FOLDER 1
           * FOLDER 2
           * FOLDER x
           * Cleaning job

          See the screenshots below:
          ||Main dashboard||in a Folder 2||in a Folder 3||in a subfolder of Folder 3||
          |!JNK-1.png|width=204,height=112!|!JNK-2.png|width=205,height=124!|!JNK-3.png|width=204,height=110!|!JNK-4.png|width=204,height=108!|

          And inside the FOLDER 3 (aka {{G}}), there are another 3 folders and in those folders there are bunch of Pipeline jobs.

          When I attempt to create *Delivery Pipeline View* under one of those subfolders, the pipelines Components for selection from *Initial Job* dropdown list doesn't contains any pipeline from the nested sub-sub folder.
          h3. Steps to reproduce
          h4. Assumption

          The following folder hierarchy and pipelines exists:
           * Folder *G*
           ** Folder *A*
           *** Pipeline A Trunk A
           *** Pipeline A Trunk B
           *** Pipeline A Trunk Core

           # Navigate to the folder {{Jenkins > G > A}} folder as possible to see on the figure below:
           !JNK-4.png!
           # There I click the little (+) to create a new view and choose *Delivery Pipeline View*
           # Fill up all necessary details and scroll at the bottom of the config page
           # Under *Pipelines* click *Add* button for *Components*
           ## Give it a name
           ## Click on *Initial Job* dropdown list.

          h3. Expected Results
           * I can see all the pipelines/job existing in my Jenkins instance, including:
           ** {{G >> A >> Pipeline A Trunk A}}
           ** {{G >> A >> Pipeline A Trunk B}}
           ** {{G >> A >> Pipeline A Trunk C...}}
           * I can select any of the existing jobs

          h3. Actual Results
           * I cannot see pipelines from the sub-sub-nested Folder, in my case: {{G > A}}
           ** Pipeline A Trunk A
           ** Pipeline A Trunk B
           ** Pipeline A Trunk Core

          See screenshot below
           !JNK-5.png|width=850,height=462!

           
          delphym Daniel Mladek made changes -
          Description I'm converting bunch of legacy projects in freestyle jobs from other Jenkins master to centralised one. Trying to keep things tidy I tend to put jobs into project specific folders.

          So hence my main view looks like this:
           * FOLDER 1
           * FOLDER 2
           * FOLDER x
           * Cleaning job

          See the screenshots below:
          ||Main dashboard||in a Folder 2||in a Folder 3||in a subfolder of Folder 3||
          |!JNK-1.png|width=204,height=112!|!JNK-2.png|width=205,height=124!|!JNK-3.png|width=204,height=110!|!JNK-4.png|width=204,height=108!|

          And inside the FOLDER 3 (aka {{G}}), there are another 3 folders and in those folders there are bunch of Pipeline jobs.

          When I attempt to create *Delivery Pipeline View* under one of those subfolders, the pipelines Components for selection from *Initial Job* dropdown list doesn't contains any pipeline from the nested sub-sub folder.
          h3. Steps to reproduce
          h4. Assumption

          The following folder hierarchy and pipelines exists:
           * Folder *G*
           ** Folder *A*
           *** Pipeline A Trunk A
           *** Pipeline A Trunk B
           *** Pipeline A Trunk Core

           # Navigate to the folder {{Jenkins > G > A}} folder as possible to see on the figure below:
           !JNK-4.png!
           # There I click the little (+) to create a new view and choose *Delivery Pipeline View*
           # Fill up all necessary details and scroll at the bottom of the config page
           # Under *Pipelines* click *Add* button for *Components*
           ## Give it a name
           ## Click on *Initial Job* dropdown list.

          h3. Expected Results
           * I can see all the pipelines/job existing in my Jenkins instance, including:
           ** {{G >> A >> Pipeline A Trunk A}}
           ** {{G >> A >> Pipeline A Trunk B}}
           ** {{G >> A >> Pipeline A Trunk C...}}
           * I can select any of the existing jobs

          h3. Actual Results
           * I cannot see pipelines from the sub-sub-nested Folder, in my case: {{G > A}}
           ** Pipeline A Trunk A
           ** Pipeline A Trunk B
           ** Pipeline A Trunk Core

          See screenshot below
           !JNK-5.png|width=850,height=462!

           
          I'm converting bunch of legacy projects in freestyle jobs from other Jenkins master to centralised one. Trying to keep things tidy I tend to put jobs into project specific folders.

          So hence my main view looks like this:
           * FOLDER 1
           * FOLDER 2
           * FOLDER x
           * Cleaning job

          See the screenshots below:
          ||Main dashboard||in a Folder 2||in a Folder 3||in a subfolder of Folder 3||
          |!JNK-1.png|width=204,height=112!|!JNK-2.png|width=205,height=124!|!JNK-3.png|width=204,height=110!|!JNK-4.png|width=204,height=108!|

          And inside the FOLDER 3 (aka {{G}}), there are another 3 folders and in those folders there are bunch of Pipeline jobs.

          When I attempt to create *Delivery Pipeline View* under one of those subfolders, the pipelines Components for selection from *Initial Job* dropdown list doesn't contains any pipeline from the nested sub-sub folder.
          h3. Steps to reproduce
          h4. Assumption

          The following folder hierarchy and pipelines exists:
           * Folder *G*
           ** Folder *A*
           *** Pipeline A Trunk A
           *** Pipeline A Trunk B
           *** Pipeline A Trunk Core

           # Navigate to the folder {{Jenkins > G > A}} folder as possible to see on the figure below:
           !JNK-4.png|width=479,height=254!
           # There I click the little (+) to create a new view and choose *Delivery Pipeline View*
           # Fill up all necessary details and scroll at the bottom of the config page
           # Under *Pipelines* click *Add* button for *Components*
           ## Give it a name
           ## Click on *Initial Job* dropdown list.

          h3. Expected Results
           * I can see all the pipelines/job existing in my Jenkins instance, including:
           ** {{G >> A >> Pipeline A Trunk A}}
           ** {{G >> A >> Pipeline A Trunk B}}
           ** {{G >> A >> Pipeline A Trunk C...}}
           * I can select any of the existing jobs

          h3. Actual Results
           * I cannot see pipelines from the sub-sub-nested Folder, in my case: {{G > A}}
           ** Pipeline A Trunk A
           ** Pipeline A Trunk B
           ** Pipeline A Trunk Core

          See screenshot below
           !JNK-5.png|width=850,height=462!

           

            People

            • Assignee:
              patbos Patrik Boström
              Reporter:
              delphym Daniel Mladek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: