Re: How to automatically run some test when check-in

2010-06-12 Thread Kevin Wu
Thanks to those replied. I want to try svn hooks first. After reading the documentation, I still don't know how to get the filename and its path of the file being committed when the post-commit hook fires. The post-commit hook just has two arguments: 1. Repository path 2. Revision number create

Re: How to automatically run some test when check-in

2010-06-12 Thread Ryan Schmidt
On Jun 12, 2010, at 04:55, Kevin Wu wrote: > I want to try svn hooks first. > > After reading the documentation, I still don't know how to get the filename > and its path of the file being committed when the post-commit hook fires. > > The post-commit hook just has two arguments: > > 1. Repos

Re: How to automatically run some test when check-in

2010-06-12 Thread Les Mikesell
Ryan Schmidt wrote: On Jun 12, 2010, at 04:55, Kevin Wu wrote: I want to try svn hooks first. After reading the documentation, I still don't know how to get the filename and its path of the file being committed when the post-commit hook fires. The post-commit hook just has two arguments: 1.

Re: How to automatically run some test when check-in

2010-06-12 Thread Stephen Connolly
On 12 June 2010 10:55, Kevin Wu wrote: > Thanks to those replied. > > I want to try svn hooks first. > > You can use the svn hooks to trigger hudson or have hudson poll svn. For maintenance, I recommend hudson polling svn rather than the svn hook mechanism. Just use Hudson you'll be set up in 3