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

no GUI update option for snapshot builds of Jenkins

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • OSX 10.8

      Under Jenkins > Manage Jenkins there once was an update button to update to the latest snapshot build. Since several snapshot builds (not sure when exactly the button disappeared) there's no longer the option for that. E.g. 1.553 and 1.552 both did not show any update option despite 1.554 being available.

      Would be great to have this back to ensure an easy update option for not so tech savvy users.

          [JENKINS-22162] no GUI update option for snapshot builds of Jenkins

          Daniel Beck added a comment -

          This hasn't been removed. Run the following script in Manage Jenkins » Script Console and post the result:

          println Jenkins.instance.updateCenter.coreSource.id;
          println new Date(Jenkins.instance.updateCenter.coreSource.dataTimestamp);
          println Jenkins.instance.updateCenter.coreSource.url;
          println Jenkins.instance.updateCenter.coreSource.data.hasCoreUpdates();
          println Jenkins.instance.getExtensionList(AdministrativeMonitor.class).find { it.id == 'hudson.model.UpdateCenter$CoreUpdateMonitor' }.enabled;
          

          Daniel Beck added a comment - This hasn't been removed. Run the following script in Manage Jenkins » Script Console and post the result: println Jenkins.instance.updateCenter.coreSource.id; println new Date(Jenkins.instance.updateCenter.coreSource.dataTimestamp); println Jenkins.instance.updateCenter.coreSource.url; println Jenkins.instance.updateCenter.coreSource.data.hasCoreUpdates(); println Jenkins.instance.getExtensionList(AdministrativeMonitor.class).find { it.id == 'hudson.model.UpdateCenter$CoreUpdateMonitor' }.enabled;

          123456789876543212345678 added a comment - - edited

          Hi Daniel, this is the output for the command you posted:

          default
          Thu Mar 20 17:01:08 CET 2014
          http://updates.jenkins-ci.org/update-center.json
          false
          true

          We're on 1.555 and no button for 1.556 to be found.

          123456789876543212345678 added a comment - - edited Hi Daniel, this is the output for the command you posted: default Thu Mar 20 17:01:08 CET 2014 http://updates.jenkins-ci.org/update-center.json false true We're on 1.555 and no button for 1.556 to be found.

          Daniel Beck added a comment -

          As you can see from the output, the update center data is almost a week old. Go to Manage Plugins » Advanced. Click Check Now (lower right). Wait on the "Checking Updates..." page until it says "Done". Then re-run the script.

          Daniel Beck added a comment - As you can see from the output, the update center data is almost a week old. Go to Manage Plugins » Advanced. Click Check Now (lower right). Wait on the "Checking Updates..." page until it says "Done". Then re-run the script.

          https://URL/pluginManager/checkUpdates

          that check never finishes. "searching for updates..." for 15mins.

          123456789876543212345678 added a comment - https://URL/pluginManager/checkUpdates that check never finishes. "searching for updates..." for 15mins.

          Ok this is def on our side of things. the button for 1.557 just showed up. Although the manual update check still never finishes. but that is not a jenkins issue then but rather related to our network settings I guess.

          consider this fixed.

          123456789876543212345678 added a comment - Ok this is def on our side of things. the button for 1.557 just showed up. Although the manual update check still never finishes. but that is not a jenkins issue then but rather related to our network settings I guess. consider this fixed.

          Daniel Beck added a comment -

          This pages (oddly) uses your web browser to download the update center. If you have tight control over Javascript, AJAX, ... or a broken proxy, DNS, ... then this won't work, true.

          Daniel Beck added a comment - This pages (oddly) uses your web browser to download the update center. If you have tight control over Javascript, AJAX, ... or a broken proxy, DNS, ... then this won't work, true.

            Unassigned Unassigned
            notenoughsleep_steve 123456789876543212345678
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: