2
votes

I'm looking at using the Hudson JIRA plugin to post a JIRA comment on each build. The SCM I'm using is perforce which is already linked to the JIRA tasks using perforce jobs. I can see that the JIRA story (e.g. PROJ-001) is visible through the perforce plugin when clicking on the changelist number in the build reports.

I'm having problems getting the Hudson JIRA plugin to work as it appears to expect the JIRA story in the change text rather than using the perforce job reference.

Note, manually adding the JIRA story into the changetext for every commit is not an option, but I was wondering whether any had any ideas short of extending the JIRA plugin itself.

2
I ended up extending the jira plugin by modifying the hudson.plugins.jira.Updater#findIssues method by checking if any change in the changeset is of type hudson.plugins.perforce.PerforceChangeLogEntry and getting the list of jobs (which are equivalent to the Jira storys) through that. - beny23

2 Answers

0
votes

Why don't you use Marvelution JIRA Hudson Integration? I tried it and it worked perfect.