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

Saving the update center list after the metadata has been fetched results in the metadata being persisted twice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • None

      hudson.model.UpdateSite's data field is not transient, so gets persisted despite the same information being stored at

      $JENKINS_HOME/updates/

      {id}

      .json

      Further that second source is canonical as it stores the raw JSON and not the parsed JSON and so if the Jenkins data model is updated to handle newer fields they will only be available when parsing the .json as oposed to when deserializing the .xml

            Unassigned Unassigned
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: