|
|
|
Change By:
|
Magnus Jacobsson
(19/Feb/13 8:12 AM)
|
Summary:
|
Inconsistent use of XML escaping in config.xml
when uploading through API
|
Description:
|
When saving a job configuration, some characters are XML-escaped, e.g. the phrase 'echo "Hello World"' is stored as 'echo "Hello World"'.
If this XML-file is uploaded to Jenkins through the http://myjenkinsserver/createItem API, the escaping is removed. If the job is run or manually configured and saved, the escaping comes back
This causes among other things a lot of confusion when comparing different versions of the config file, either through the Jenkins Job History feature or through a version control system if the configs are stored there.
The XML-escaping is not necessary, although not incorrect. A consistent way of handling it would however be preferred.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.