Reputation: 275
I'm having redmine 1.4.1 and hudson 2.2 installed. after migration the redmine 1.1 to 1.4.1, the plugin of redmine0.9 stop working in the hudson.
When commit messages contain redmine keywords like "refs" or "closes", the redmine plugin detects the keywords correctly, but the links contain the /show - prepending the issue number (#41), therefore getting a 404 error in redmine.
A regular link to a redmine issue: http://myRedmineProject/issues/100
The link generated by the redmine plugin: http://myRedmineProject/issues/show/100 Changes
#34 (26/04/2012 10:15:29)
Web Service #41 e #42 — Alexandre Schossler / detalhe
UC - TC 11 - associar produtos ao cliente #40 — Alexandre Schossler / detalhe
cadastro de produto, configuracao do bootstrap - ref #44 #38 — carlos / detalhe
does anyone know how to solve?
Upvotes: 3
Views: 471
Reputation: 101
generate invalid issue link fix for redmine 1.4
https://github.com/ncrash/jenkins-redmine-plugin/commit/2fd1072daae4a97f85786c72d8143e6b4340b07b
Upvotes: 1
Reputation: 275
i solved the problem :D
I did check out of the plugin, i removed show/
from code of the class RedmineLinkAnnotator
then i compiled using mvn install
, copy the redmine.hpi to the plugins folder of the hudson
Upvotes: 1
Reputation: 56486
I couldn't find the source code of the plugin... But: If you have apache in front of redmine, you could - as a workaround, until the hudson plugin gets fixed - simply redirect all the /issues/show/xxx
links.
Upvotes: 1