Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CruiseControl sends mail only from inside <onsuccess>, why ?

 
soumya ravindranath
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am not able to figure out CruiseControl's working method. Any hint about where I could look would be a great help, please.

We have CruiseControl set up for the java project, that fetches from subversion and builds fine. The problem is with sending mails.

There is a project where the build fails always, currently. The batch file that is called from CruiseControl to build the project, not only sets an errorstring but also returns an error code. At the command prompt, I see that these are recognized and CruiseControl reports 'build failed'. However, when I put in the <email> settings directly under <publishers> or inside <onfailure> it doesn't send any mail. Instead, if I put the <email> under <onsuccess>, it sends it. Why does this happen ?

Thanks in advance,
Soumya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic