continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Best place to put deployment hook
Date Tue, 13 Mar 2007 07:24:04 GMT


David Leangen a écrit :
> Hello!
> 
> I am wondering what the intended procedure is, or the best practice, or
> whatever, for inserting a deployment hook.
> 
> Are there hooks in Continuum itself, such as "do this if build
> successful, do this otherwise"?
> 
> Or should I be creating maven plugins for such cases?
> 
> 
> 
> Or, more specifically...
> 
> In this particular case, I simply want to (1) clean out my local cache
> to ensure the build is "clean" (which is not done during a "normal"
> build), (2) run integration tests (which are also not run during a
> "normal" build) and finally, 
> 
>  a. if the build is successful, deploy to a staging server

You only need to add a new goal to the build definition.

> 
>  b. otherwise send out "special" notifications to the appropriate
>     people
> 
> 
> I am working on (1) and (2) by using build profiles.
> 
> Can somebody tell me, in their experience with Continuum, the best way
> to approach (a) and (b)?
> 
> 
> Thank you!
> David
> 
> 
> 
> 
> 
> 


Mime
View raw message