Children not re-indexed on OrganizationFolder re-index

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When a re-index is triggered manually on OrganizationFolder the re-index should be propagated to all its children (run a re-index on every MultiBranchProject in the org. folder), but actually it's not happening. This is producing wrong behaviors, for example: if you make a change in the OrganizationFolder configuration (a checkout credentials change, for example) it is not propagated to existing MultiBranchProject s and their existent branch jobs. So if you trigger a build on a branch job, the new credentials configuration is not pickep up.

      Possible root cause:

      When a re-index is triggered manually on OrganizationFolder a call to computeChildren occurs, this call ends up with a series of calls to SCMSourceObserver.complete(), if the projectName already has a MultiBranchProject in ComputedFolder.items (the multi-branch already exists) then project.scheduleBuild() is never called, so the re-index in that child will never occur.

            Assignee:
            Antonio Muñiz
            Reporter:
            Antonio Muñiz
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: