Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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

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,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!