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

Org folders repository folder never runs scans on repository



    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: branch-api-plugin
    • Labels:
    • Environment:
      Jenkins 2.101, Folders Plugin 6.3, GitHub Branch Source Plugin 2.3.2
    • Similar Issues:


      Recently updated Jenkins and all available plugins, and the Repository folder within our Organization folder stopped scanning completely. 


      I went so far as to delete our entire organization structure and re-create it. The organization does scan correctly on changes. The only time the repository level folder scans automatically is upon its initial creation from the creation of the organization. 


      Also makes little sense that the repository folder has a non-configurable interval of 1 day, while the organization folder was setup with an interval of 5 minutes. This is how the repo's trigger is defined in its config.xml:

      <spec>H H * * *</spec>

      I manually changed that to match the Org folders config trigger, e.g. 

      <spec>H/12 * * * *</spec>

      and then gave Jenkins a restart. After ~5 minutes, sure enough, it's now scanning correctly. 


      So why on earth is the interval timer being set to such a long duration, and so dramatically different than the org's interval timer? 


          Issue Links


            hardwickj James Hardwick created issue -
            stephenconnolly Stephen Connolly made changes -
            Field Original Value New Value
            Component/s branch-api-plugin [ 18621 ]
            Component/s cloudbees-folder-plugin [ 18137 ]
            jimklimov Jim Klimov made changes -
            Link This issue is duplicated by JENKINS-49526 [ JENKINS-49526 ]
            rpionke Raphael Pionke made changes -
            Link This issue is related to JENKINS-51049 [ JENKINS-51049 ]
            dnusbaum Devin Nusbaum made changes -
            Link This issue relates to JENKINS-56917 [ JENKINS-56917 ]


              Unassigned Unassigned
              hardwickj James Hardwick
              32 Vote for this issue
              42 Start watching this issue