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

Infinite loop in PluginSetupWizard.js::checkConnectivity() on a custom UpdateSite

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      UpdateSite in Jenkins can return null from getConnectionCheckUrl() in order to indicate that the connection check should be skipped.

      In Jenkins 2.2 there is no special status for the "SKIPPED" connection check. UpdateCenter::doCheckConnection() returns

      {"internet": "UNCHECKED"}

      in such case.

      When PluginSetupWizard.js::checkConnectivity() receives such UNCHECKED result, it tries to query Jenkins again with 100ms timeout. Actually it leads to the infinite loop, because Jenkins UpdateCenter returns "UNCHECKED" forever.

        Attachments

          Activity

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: