Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure project in Hudson/Jenkins to report to Jira

I have installed and configured this plugin:

http://wiki.hudson-ci.org/display/HUDSON/JIRA+Plugin

In Jira I have turned ON option "accept api calls"

in Jira logs i can see that Hudson established connection

but nothing else happens, ive got test builds and they're failing but hudson doesnt report anything to jira

how to name job? how to name tests? do i need jiraID?

how to create issue that works with hudson?

how to actually tie hudson job with jira issue?

like image 509
Rurouni Kenshin Avatar asked Nov 14 '22 16:11

Rurouni Kenshin


1 Answers

I recommend you to use this plugin: Marvelution JIRA Hudson Integration. With it I hope yo could solve your problem.

You have to install 2 different parts of the plugin, one in JIRA and another one in Jenkins (it enables a new API to allow JIRA to connect with Jenkins). Then, you have to go to JIRA Administration, Hudson, Servers, Add Server, configure there your Jenkins server.

After that, go to Administration, Hudson, Associations, Add a Hudson Association and link your project in JIRA with your Jenkins task (a list of tasks will be shown).

Finally, you only have to go to your JIRA project's page and you'll see a Hudson tab in which you can see the integration that you need.

like image 59
r.rodriguez Avatar answered Dec 22 '22 12:12

r.rodriguez