<<Thanks for the answer. So you think the best way is to let developers commit 
manually and use the integration Server to make the builds once the SCM 
repository has change and inform in case of error?>>

I expect that your developers will sometimes wish to run the unit tests without 
committing the changes. Therefore having the commit be automatic is 
undesirable. Heck, I have occasionally deployed a snapshot from my machine 
before committing changes.

If you want to commit after running tests, just execute "mvn test scm:checkin".

However, I am strongly of the believe that developers should test changes on 
their own machine before committing to the repository. Having CI does not make 
it OK to break the build! CI simply allows mistakes to be caught sooner rather 
than later (probably the most common IME is forgetting to add files to the 
repository before committing).

--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY  10018
(212) 840-2618 ext. 139

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to