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

Jenkins REST API xml files are not parseable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • None

      jenkins outputs rest api xmls
      (like:
      https://.../job/job-name/43/api/xml
      https://.../job/job-name/43/jdk=jdk1.7,label_exp=RHEL6%20&&%20x86_64%20&&%20mem8G/api/xml
      https://.../job/job-name/5/jdk=jdk1.8,label_exp=RHEL6%20&&%20x86_64%20&&%20mem8G/testReport/api/xml
      for example, kindly see attachment
      )
      are not parseable, due to some element values could contain special characters, like "&&"... etc.

      I find problematic following elements only :"errorStackTrace" "stderr" "stdout" and "url"
      values of these should be wrapped in <![CDATA[ .... ]]> at least.

            Unassigned Unassigned
            sveres Stefan Veres
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: