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

invalid update-center.json is provided

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            jglick 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.

            jglick 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.
            jglick Jesse Glick added a comment -

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

            jglick 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.

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: