I believe there may be an issue in MercurialChangeLogParser method MercurialChangeSetList parse(AbstractBuild build, File changelogFile). If I pass in a changelog that looks like the following:

changelog.xml
<?xml version='1.0' encoding='UTF-8'?>
<changesets>
<changeset author='joe.schmo &lt;joe.sc...@example.com&gt;'/> <!-- note that those escape characters are on purpose and not some relic of posting in Jira -->
</changesets>

I get a changeset author with the ID and fullname "joe.schmo _joe.sc...@example.com_", which is the error reported in this ticket. I believe the Digester class from Apache Commons is taking the escaped XML characters in the changesets/changeset/@author attribute and rendering them as underscores.


I pushed a unit test showing this to my fork of mercurial-plugin, but not requesting a pull because I don't have a fix yet.

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.
 
 

Reply via email to