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

canonicalize job configs in for nicer config history

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      64bit Arch. Latest jenkins pkg (2.96) with latest jobConfigHistory plugin (2.18).
    • Similar Issues:

      Description

      Jenkins seems to handle XML updates from different sources in different ways, resulting in job diff entries flooded with c14n issues:

      +<defaultValue></defaultValue>
      -<defaultValue/>
      

      Saving on the web interface produces canonicalized job configs, whereas posting XML via the API seems to produce condensed XML.

        Attachments

          Activity

          Hide
          jochenafuerbacher Jochen A. F├╝rbacher added a comment -

          This is not an issue of JobConfigHistory as it only diffs between config files. Seems to be a core issue.

          Show
          jochenafuerbacher Jochen A. F├╝rbacher added a comment - This is not an issue of JobConfigHistory as it only diffs between config files. Seems to be a core issue.

            People

            • Assignee:
              stefanbrausch Stefan Brausch
              Reporter:
              clux Eirik Albrigtsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: