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

2010-06-14 Thread Kevinm
On Mon, Jun 14, 2010 at 10:28 AM, Csaba Raduly wrote: > On Sat, Jun 12, 2010 at 6:07 AM, Les Mikesell wrote: > > Kevin Wu wrote: > >> I want that every time someone checks in his or her code, the sever can > >> invoke some tests, which might run on another server. > > > > You might run some ssh c

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

2010-06-14 Thread Csaba Raduly
On Sat, Jun 12, 2010 at 6:07 AM, Les Mikesell wrote: > Kevin Wu wrote: >> I want that every time someone checks in his or her code, the sever can >> invoke some tests, which might run on another server. > > You might run some ssh command as a post-commit hook, but you would probably > be better off

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

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 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 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-11 Thread Les Mikesell
Kevin Wu wrote: Hi, I am new to svn. I want that every time someone checks in his or her code, the sever can invoke some tests, which might run on another server. The svn sever only invokes the tests; it doesn't run them. Is svn capable of doing this? You might run some ssh command as a p

How to automatically run some test when check-in

2010-06-11 Thread Kevin Wu
Hi, I am new to svn. I want that every time someone checks in his or her code, the sever can invoke some tests, which might run on another server. The svn sever only invokes the tests; it doesn't run them. Is svn capable of doing this? -- Best wishes, Kevin Wu