Issue Type: Bug Bug
Affects Versions: current
Assignee: sogabe
Components: mantis
Created: 24/Jul/12 4:35 AM
Description:

Our commit messages starts with [12345] ..... and I used to use Issue id pattern [%ID%], however this is no longer working.

Reading through hudson.plugins.mantis.MantisProjectProperty.java, method createRegexp(..) should generate the regular _expression_ (?<=[)(\d+)(?=]) which will happily find the regex, so doesn't look like its a problem there.

What appears to be occuring is that the Issue ID pattern is being saved with quotes around it eg "[%ID%]", because if I commit svn messages with quotes around the square brackets it all works, and looking in the job xml it is saving the field as <pattern>"[%ID%]"</pattern>

I can get around the problem by using a Regexp pattern of [(\d+)] and leave the Issue id pattern blank, but it would be ideal if this could be fixed

Project: Jenkins
Priority: Minor Minor
Reporter: James Bushell
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

Reply via email to