You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Nigel Daley <nd...@yahoo-inc.com> on 2007/03/14 19:22:44 UTC

New Jira Hudson plugin

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


Re: New Jira Hudson plugin

Posted by Andrzej Bialecki <ab...@getopt.org>.
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



Re: New Jira Hudson plugin

Posted by Nigel Daley <nd...@yahoo-inc.com>.
>> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: New Jira Hudson plugin

Posted by Nigel Daley <nd...@yahoo-inc.com>.
>> 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

Re: New Jira Hudson plugin

Posted by Nigel Daley <nd...@yahoo-inc.com>.
>> 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

Re: New Jira Hudson plugin

Posted by Andrzej Bialecki <ab...@getopt.org>.
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



Re: New Jira Hudson plugin

Posted by Doron Cohen <DO...@il.ibm.com>.
Nigel Daley <nd...@yahoo-inc.com> wrote on 14/03/2007 11:22:44:

> 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.

I personally like this feature - allows to easily figure out the answer
for:
- did it (issue patch) work well after "integrated"?

However it is not clear to me what "integrated" means though - is it the
first time this issue number appeared in CHANGES.txt? Or the first time
this issue is resolved? Sometimes there is more than a single commit for a
single issue (not best practice I guess, but sometimes an issue is
reopened) - well there be two integration points now?

Also, how long are these old builds saved in the Hudson server? If after
some limit some old builds are removed, the links added to Jira would
become broken?

> 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.

I think the Hudson link added to HADOOP-1115 is broken, because of a
trailing ')'.

>
> More on the new plugin here:
> http://weblogs.java.net/blog/kohsuke/archive/2007/03/
> hudsonjira_inte.html
>
> Comments welcome.
>
> Cheers,
> Nige


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org