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

Git parameter branch selector becomes slow after a period of time

    Details

    • Type: Improvement
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: git-parameter-plugin
    • Labels:
      None
    • Environment:
      OS: Ubuntu 18.04
      Jenkins version: 2.121.3
      Git Parameter version: 0.9.4
    • Similar Issues:

      Description

      Hello.

       

      I have a deployment job with about 26 branch selectors. It takes about 3-4 minutes to load the menu with all branches using git parameter plugin.  But I noticed that it takes only 10 seconds If I will clone the job and will do the same in the cloned job. But after a period of time it will also become slow.

      I suppose that it is possible to load branches fast for every deployment. I tried to wipe workspace and to restart Jenkins. But it didn't help.

       

      Please let me know if you need some additional info.

       

      Update: Just updated Jenkins till 2.138.2 and Git parameter till 0.9.6. Issue still persists.

        Attachments

          Activity

          Hide
          klimas7 Boguslaw Klimas added a comment -

          If is not a problem for you, you can try prepare job using some open source repositories (hosting on github) and attach config.xml.
          That would be very helpful in reproduce this issue in my local environment.

          In MultiJob project you use MultiSCM definition and you have a few/many git repository? 

          Show
          klimas7 Boguslaw Klimas added a comment - If is not a problem for you, you can try prepare job using some open source repositories (hosting on github) and attach config.xml. That would be very helpful in reproduce this issue in my local environment. In MultiJob project you use MultiSCM definition and you have a few/many git repository? 
          Hide
          klimas7 Boguslaw Klimas added a comment -

          Hi Andrei Brajnicov
          You can do Thread dump (http://YOUR_JENKINS_HOST/threadDump) during page are loaded, maybe you can get some interesting information.
          Good example is in this issue JENKINS-54504

          Show
          klimas7 Boguslaw Klimas added a comment - Hi Andrei Brajnicov You can do Thread dump ( http://YOUR_JENKINS_HOST/threadDump ) during page are loaded, maybe you can get some interesting information. Good example is in this issue JENKINS-54504
          Hide
          snaf Andrei Brajnicov added a comment -

          hi Boguslaw Klimas
          Sorry for my late response. I want to inform you that I'm unable to reproduce it using Pipeline.

          But it it still reproducible using MultiJob.

          I'll post some additional info how to reproduce it soon.

          Show
          snaf Andrei Brajnicov added a comment - hi Boguslaw Klimas Sorry for my late response. I want to inform you that I'm unable to reproduce it using Pipeline. But it it still reproducible using MultiJob. I'll post some additional info how to reproduce it soon.
          Hide
          klimas7 Boguslaw Klimas added a comment -

          Hi Andrei Brajnicov

          Currently I'm closing this issue, if you will have more information please add them and reopen issue

          Show
          klimas7 Boguslaw Klimas added a comment - Hi Andrei Brajnicov Currently I'm closing this issue, if you will have more information please add them and reopen issue
          Hide
          unitedmarsupials Mikhail T added a comment -

          I too have this problem – the list of commits takes several minutes to populate. Attaching the project's config...

          GSL-jenkins-config.xml

          Show
          unitedmarsupials Mikhail T added a comment - I too have this problem – the list of commits takes several minutes to populate. Attaching the project's config... GSL-jenkins-config.xml

            People

            • Assignee:
              klimas7 Boguslaw Klimas
              Reporter:
              snaf Andrei Brajnicov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: