-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
redmine-0.15 , Jenkins ver. 1.580.1
The commit message "#1, #11" does not link to two redmine tickets in the changes view:
I tried the following Test in the Code:
assertAnnotatedTextEquals("#1, #11",
"<a href='" + REDMINE_URL + "issues/1'>#1</a>, " +
"<a href='" + REDMINE_URL + "issues/11'>#11</a>");
Fails
<a href='http://local.redmine/issues/1, #11'>#1, #11</a>
[JENKINS-26084] changes with commit message "#1, #11" is not linked to redmine correctly
Description |
Original:
The commit message "#1, #11" does not link to to redmine tickets in the changes view: I tried the following Test in the Code: assertAnnotatedTextEquals("#1, #11", "<a href='" + REDMINE_URL + "issues/1'>#1</a>, " + "<a href='" + REDMINE_URL + "issues/11'>#11</a>"); Fails <a href='http://local.redmine/issues/1, #11'>#1, #11</a> |
New:
The commit message "#1, #11" does not link to two redmine tickets in the changes view: I tried the following Test in the Code: assertAnnotatedTextEquals("#1, #11", "<a href='" + REDMINE_URL + "issues/1'>#1</a>, " + "<a href='" + REDMINE_URL + "issues/11'>#11</a>"); Fails <a href='http://local.redmine/issues/1, #11'>#1, #11</a> |
Environment | New: redmine-0.15 , Jenkins ver. 1.580.1 |
Workflow | Original: JNJira [ 160074 ] | New: JNJira + In-Review [ 180243 ] |
i came up with a workaround and an improved version of the link annotator. see: https://github.com/jenkinsci/redmine-plugin/pull/17