New Jira Hudson plugin

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

New Jira Hudson plugin

Nigel Daley
I've updated Hudson with a new Jira plugin provided by Kohsuke:

   http://lucene.zones.apache.org:8080/

Jira issue numbers should now be hyper-linked to Jira.  Also, in the  
Hadoop-Nightly build I'm experimenting with a feature of the plugin  
that will update the Jira with a link back to the Hudson build in  
which it was integrated.  For example https://issues.apache.org/jira/ 
browse/HADOOP-1115 now has such a link.  If other projects (Lucene,  
Nutch, Solr) want this feature turned on then please let me know.

More on the new plugin here:
http://weblogs.java.net/blog/kohsuke/archive/2007/03/ 
hudsonjira_inte.html

Comments welcome.

Cheers,
Nige

Reply | Threaded
Open this post in threaded view
|

Re: New Jira Hudson plugin

Andrzej Białecki-2
Nigel Daley wrote:
> I've updated Hudson with a new Jira plugin provided by Kohsuke:
>
>   http://lucene.zones.apache.org:8080/

Nigel,

First of all, let me thank you for setting up the Nutch nightly build
under Hudson - that's a really useful service, thank you!

>
> Jira issue numbers should now be hyper-linked to Jira.  Also, in the
> Hadoop-Nightly build I'm experimenting with a feature of the plugin
> that will update the Jira with a link back to the Hudson build in
> which it was integrated.  For example
> https://issues.apache.org/jira/browse/HADOOP-1115 now has such a
> link.  If other projects (Lucene, Nutch, Solr) want this feature
> turned on then please let me know.
>
> More on the new plugin here:
> http://weblogs.java.net/blog/kohsuke/archive/2007/03/hudsonjira_inte.html

I'm not sure what is the magic behind this plugin - Nutch still follows
a simplified JIRA workflow (although in my opinion we should switch to
the same workflow as Hadoop uses), and this simplified workflow doesn't
contain "patch available" state.

--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Reply | Threaded
Open this post in threaded view
|

Re: New Jira Hudson plugin

Nigel Daley
>> Jira issue numbers should now be hyper-linked to Jira.  Also, in  
>> the Hadoop-Nightly build I'm experimenting with a feature of the  
>> plugin that will update the Jira with a link back to the Hudson  
>> build in which it was integrated.  For example https://
>> issues.apache.org/jira/browse/HADOOP-1115 now has such a link.  If  
>> other projects (Lucene, Nutch, Solr) want this feature turned on  
>> then please let me know.
>>
>> More on the new plugin here:
>> http://weblogs.java.net/blog/kohsuke/archive/2007/03/ 
>> hudsonjira_inte.html
>
> I'm not sure what is the magic behind this plugin - Nutch still  
> follows a simplified JIRA workflow (although in my opinion we  
> should switch to the same workflow as Hadoop uses), and this  
> simplified workflow doesn't contain "patch available" state.

Hi Andrzej,

I suspect you may be confusing this with the automatic build we do  
for Hadoop when someone submits a patch to Jira and marks it "Patch  
Available".  This new plugin has nothing to do with Jira states or  
our custom Hadoop patch build process.

Husdon has always noticed the changes that were integrated into each  
successive build.  For instance, look at:
   <http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/24/>

This Jira plugin simply does 2 additional things.
1) Whenever is sees what is suspects is a Jira issue number in the  
build change log, it will hyper-link to the issue.
2) It can also add a comment to the Jira's that were integrated into  
each build, but this functionality has to be enabled for each build  
project.  An example of the comment it adds can be seen in this  
recently integrated Hadoop defect:
   <http://issues.apache.org/jira/browse/HADOOP-1115#action_12480723>

Let me know if you want item #2 functionality enabled for Nutch.
[ditto for Lucene and Solr, who I have cc'd]

Cheers,
Nige
Reply | Threaded
Open this post in threaded view
|

Re: New Jira Hudson plugin

Andrzej Białecki-2
Nigel Daley wrote:

>>> Jira issue numbers should now be hyper-linked to Jira.  Also, in the
>>> Hadoop-Nightly build I'm experimenting with a feature of the plugin
>>> that will update the Jira with a link back to the Hudson build in
>>> which it was integrated.  For example
>>> https://issues.apache.org/jira/browse/HADOOP-1115 now has such a
>>> link.  If other projects (Lucene, Nutch, Solr) want this feature
>>> turned on then please let me know.
>>>
>>> More on the new plugin here:
>>> http://weblogs.java.net/blog/kohsuke/archive/2007/03/hudsonjira_inte.html 
>>>
>>
>> I'm not sure what is the magic behind this plugin - Nutch still
>> follows a simplified JIRA workflow (although in my opinion we should
>> switch to the same workflow as Hadoop uses), and this simplified
>> workflow doesn't contain "patch available" state.
>
> Hi Andrzej,
>
> I suspect you may be confusing this with the automatic build we do for
> Hadoop when someone submits a patch to Jira and marks it "Patch
> Available".  This new plugin has nothing to do with Jira states or our
> custom Hadoop patch build process.
>
> Husdon has always noticed the changes that were integrated into each
> successive build.  For instance, look at:
>   <http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/24/>
>

Ok, thanks for the explanation.

> This Jira plugin simply does 2 additional things.
> 1) Whenever is sees what is suspects is a Jira issue number in the
> build change log, it will hyper-link to the issue.
> 2) It can also add a comment to the Jira's that were integrated into
> each build, but this functionality has to be enabled for each build
> project.  An example of the comment it adds can be seen in this
> recently integrated Hadoop defect:
>   <http://issues.apache.org/jira/browse/HADOOP-1115#action_12480723>
>
> Let me know if you want item #2 functionality enabled for Nutch.
> [ditto for Lucene and Solr, who I have cc'd]

Yes, this looks quite useful - please enable this for Nutch.

PS. there is a small bug in this feature, e.g. in the issue that you
pointed to above the HTML looks like this (notice the closing parenthesis):

(See <a href="http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/24/)">



--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com