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

invalid update-center.json is provided

    Details

    • Similar Issues:

      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

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

            Show
            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.
            Hide
            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.

            Show
            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 .
            Hide
            bernhardb Bernhard Berbuir added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: