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

Should not search for similar projects if SCM checkbox is turned off

    XMLWordPrintable

Details

    Description

      Jenkins sends validation requests each time a configuration page is opened
      in case the field is empty. In case of 'Use SCM from another project' even
      if the option wasn't chosen (let's say Git was enabled or None), Jenkins
      anyway will send validation request.

      In the doCheckProjectName() if the Project isn't found, then similar projects
      are looked up. And if there are a lot of jobs (let's say 5000), then this is
      an additional load.

      Attachments

        Activity

          Code changed in jenkins
          User: stanislav bashkirtsev
          Path:
          pom.xml
          src/main/java/hudson/plugins/templateproject/ProxySCM.java
          http://jenkins-ci.org/commit/template-project-plugin/fb110e4380bfec3461e726faa8134e2ea856a9c6
          Log:
          Merge pull request #8 from ctapobep/master

          [FIXED JENKINS-22150] Corrected performance issue in validation of SCM project.

          Compare: https://github.com/jenkinsci/template-project-plugin/compare/c6208b9ff95c...fb110e4380bf

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: stanislav bashkirtsev Path: pom.xml src/main/java/hudson/plugins/templateproject/ProxySCM.java http://jenkins-ci.org/commit/template-project-plugin/fb110e4380bfec3461e726faa8134e2ea856a9c6 Log: Merge pull request #8 from ctapobep/master [FIXED JENKINS-22150] Corrected performance issue in validation of SCM project. Compare: https://github.com/jenkinsci/template-project-plugin/compare/c6208b9ff95c...fb110e4380bf

          People

            ctapobep Stanislav Bashkyrtsev
            ctapobep Stanislav Bashkyrtsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: