• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core
    • all

      The JSON file provided by both update center URLs:

      is invalid. It contains
      updateCenter.post(
      as the first line and
      );
      as the last line but must only contain the second line, which is valid JSON.

          [JENKINS-22227] invalid update-center.json is provided

          Jesse Glick added a comment -

          Despite the misleading file extension, an update center URL *.json is in fact JSONP, not JSON.

          There is also *.json.html, which is JSON wrapped in a call to postMessage. This is used by modern browsers instead of the JSONP version.

          Currently the update center does not export raw JSON under any URL.

          Jesse Glick added a comment - Despite the misleading file extension, an update center URL *.json is in fact JSONP, not JSON. There is also *.json.html , which is JSON wrapped in a call to postMessage . This is used by modern browsers instead of the JSONP version. Currently the update center does not export raw JSON under any URL.

          Jesse Glick added a comment -

          An alternate URL serving raw JSON would be nice to have, for example for the implementation of JENKINS-19081.

          Jesse Glick added a comment - An alternate URL serving raw JSON would be nice to have, for example for the implementation of JENKINS-19081 .

          After updating to version 1.554.1 the "Check now" button at the update center works again.

          Bernhard Berbuir added a comment - After updating to version 1.554.1 the "Check now" button at the update center works again.

            Unassigned Unassigned
            bernhardb Bernhard Berbuir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: