Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: ivytrigger
Created: 13/Jun/14 2:20 PM
Description:

In the properties file we provide to the trigger, we have property that contains a double quote. Even though this specific property is not used in the Ivy file, the plugin generates an temporary XML file that is not valid because of it.

For example:

build.properties contains:

a.property.name=This is "A" test

results in:


[ERROR] - XTrigger exception: java.text.ParseException: failed to load settings from file:/C:/Users/xxxxx/AppData/Local/Temp/file9178016074964912659.tmp: Element type "property" must be followed by either attribute specifications, ">" or "/>".

Because the generated file contains:

<property name="a.property.name" value="This is "A" test"/>

Characters that are not XML safe will need to be encoded when the file is written out.

Environment: Version 0.32 of the plugin
Project: Jenkins
Priority: Major Major
Reporter: Robert Clark
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/d/optout.

Reply via email to