Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> [DISCUSS] Test on Patch Available

Copy link to this message
Re: [DISCUSS] Test on Patch Available
Hi Brock,
that is an excellent idea and I'm definitely in favour of that. In fact I wanted to propose something similar myself.

However I did not quite finished my own investigation yet. It seems that this pre commit hooks are done on projects that were mostly donated by Yahoo! (Hadoop, Oozie) on Jenkins nodes named "hadoopX". The hadoop named nodes have comment "Build machine for Hadoop project builds", so I'm not sure that they are available for other projects as well.

With removing those 9 hadoop notes, it's like 10 other nodes in total for entire Apache organization and I do know that sometimes the build queue might be quite huge. Having said that it might be good idea to ask Infra team if pre-commit hooks are available to all projects or only to projects that have "special hardware" available.


On Fri, Dec 07, 2012 at 10:11:53AM -0600, Brock Noland wrote:
> Hi,
> I like how in the Hadoop project if you mark a patch "Patch Available"
> jenkins applies the patch to trunk, runs the tests, and outputs the
> result to the JIRA. Here is one example:
> http://s.apache.org/qz
> I think we should still run tests manually before commit. However,
> this will often give a reviewer an indicator of whether the change
> breaks a test without even having to download the code.
> Thoughts?
> Brock