I want to set up ccnet to:
I believe that this does what you want (admittedly, a year after your question).
NB: We use SVN, with a
block. In CC.NET 1.4.xx,
blocks support regular expressions to work out email addresses from SVN usernames. It should work with other source control blocks, but I haven't used anything but SVN.
We have something like the following in our
block (I've modified it to match your spec):
always
So, dev1@ourcompany.com and dev2@ourcompany.com will get an email whenever the build status changes, and [svnuser]@ourcompany.com will get an email when the build they've committed code for finishes building.
NB: if the build fails, svn users who have committed code since it last succeeded will continue to get further emails each time a build finishes until the build is fixed.