You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by David Leangen <co...@leangen.net> on 2007/03/13 02:17:15 UTC
Best place to put deployment hook
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
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
Re: Best place to put deployment hook
Posted by Emmanuel Venisse <em...@venisse.net>.
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
>
>
>
>
>
>