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

Branch Indexing very slow and called each build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Jenkins 2.73.3
      bitbucket-branch-source 2.2.7
      Bitbucket Server 4.12
    • Pipeline - October

      I am trying to migrate one of our Bitbucket repos to a jenkins pipeline job.

      This repo has over 3K branches currently.

      Branch indexing takes 11 minutes to complete, and it seems it is called each time any branch is built. Is there any way to speed this up? I will look into deleting some old branches, but we are a big company so 500-1000 branches a week is a about average for us.

       

      [Fri Nov 17 21:57:29 UTC 2017] Starting branch indexing...
      ....
      [Fri Nov 17 22:08:53 UTC 2017] Finished branch indexing. Indexing took 11 min
      
      

       Also, regarding our Bitbucket version - we are in the process of upgrading to Bitbucket Datacenter, so we will be up to date to 5 then.

            hellspam Roy Arnon
            hellspam Roy Arnon
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: