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

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

    Details

    • Similar Issues:

      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

          ctapobep Stanislav Bashkyrtsev created issue -
          ctapobep Stanislav Bashkyrtsev made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          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

          Show
          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
          scm_issue_link SCM/JIRA link daemon made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154229 ] JNJira + In-Review [ 194837 ]
          brantone Brantone made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: