Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
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.
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