Re: Projects dependencies and mail notifiers

2007-07-26 Thread Christophe Lechenne

Thxs for your reply, but when I said that :


 Pb 1 : No info is given to user1 to tell him that PA was built because
 of change on B.



What I mean is :  although user1 received a mail, that mail contains
no info about the real reason of that build : is-it because of a code
modification on PA or a build on PB ?

As I'm writing this mail, I read again the email that user1 received
during my tests and I found that :

Dependencies Changes:

com.cl.test:CONTINUUM_B:1.0.0-SNAPSHOT

So All sound good :-)

For Pb2, ok for your comment.


Re: Projects dependencies and mail notifiers

2007-07-26 Thread Emmanuel Venisse



Christophe Lechenne a écrit :

Hi all,

I'm testing this feature on 1.1 version.

Here's my conf:

I've got 2 maven 2 projects :

PA and PB
PA depends on PB.

PA pom file has a mail notifier for user1
PA pom file has a mail notifier for user2

PA has 2 api, one using PB api
PA has 2 junit tests, one for each api.

PB has 1 api and one junit test.

All of them are on continuum control.

Now I make an evolution on PB that breaks PA junit test based on PB
api, but doesn't break the PB junit test.

After I commit PB in SCM.

Continuum build B, and A.

build B is^ok
build A is ko, and a mail is sent to user1.

That's fine.

I've got there 2 pbs:
Pb 1 : No info is given to user1 to tell him that PA was built because
of change on B.
Pb 2 : user2 isn't notify that PA build is ko

For Pb1 : is-there a configuration for that ?


if user1 isn't in the notifier addresses of PA, he can't receive mails for PA 
failures


For Pb2 : I can add user2 in continuum console for PA or in PA pom
file, is there another solution ?


How do you add him? he's already in notifier's addresses list, right? It must 
receive notification, look at your logs if you haven't an error on the sent.

Emmanuel




Projects dependencies and mail notifiers

2007-07-26 Thread Christophe Lechenne

Hi all,

I'm testing this feature on 1.1 version.

Here's my conf:

I've got 2 maven 2 projects :

PA and PB
PA depends on PB.

PA pom file has a mail notifier for user1
PA pom file has a mail notifier for user2

PA has 2 api, one using PB api
PA has 2 junit tests, one for each api.

PB has 1 api and one junit test.

All of them are on continuum control.

Now I make an evolution on PB that breaks PA junit test based on PB
api, but doesn't break the PB junit test.

After I commit PB in SCM.

Continuum build B, and A.

build B is^ok
build A is ko, and a mail is sent to user1.

That's fine.

I've got there 2 pbs:
Pb 1 : No info is given to user1 to tell him that PA was built because
of change on B.
Pb 2 : user2 isn't notify that PA build is ko

For Pb1 : is-there a configuration for that ?
For Pb2 : I can add user2 in continuum console for PA or in PA pom
file, is there another solution ?

regards,
Christophe