Build status notification with CCNET via MSN

Tags: Tech Geek

 So I decided to combine my two recent pet projects that I have been working on, CruiseControl.NET (Continuous Integration) with MSN (an AI Bot).  I have given the Bot the ability to track CCNET server’s builds and send messages via MSN to subscribers when the build has been changed.  Here is an example of the conversation:

 

I just checked in some code to my subversion repository and it triggered a build…

 

(2:07:40 PM) Anika (Now with CI): Project Changed: Unified
WAS: Unified : Success at 2/19/2006 6:46:04 PM (8,Running,Sleeping)
IS: Unified : Success at 2/19/2006 6:46:04 PM (8,Running,Building)
------------------------

(2:09:40 PM) Anika (Now with CI): Project Changed: Unified
WAS: Unified : Success at 2/19/2006 6:46:04 PM (8,Running,Building)
IS: Unified : Success at 2/22/2006 2:07:41 PM (9,Running,Sleeping)
------------------------

(2:12:12 PM) Rob Chartier (vancouvercodecamp.com): thanks
(2:12:13 PM) Anika (Now with CI): Don't mention it.

 

I can view the current status of all projects…


(2:12:20 PM) Rob Chartier (vancouvercodecamp.com): ccnet status
(2:12:21 PM) Anika (Now with CI): Looking up Build information.
(2:12:21 PM) Anika (Now with CI): AIMLBot : Success at 2/22/2006 1:15:09 PM (14,Running,Sleeping)
(2:12:21 PM) Anika (Now with CI): CruiseControl : Success at 2/19/2006 6:44:47 PM (46,Running,Sleeping)
(2:12:24 PM) Anika (Now with CI): Unified : Success at 2/22/2006 2:07:41 PM (9,Running,Sleeping)

 

Also, I added a quick trigger for the Bot to return back the MSN contact statistics:

 

(2:13:16 PM) Rob Chartier (vancouvercodecamp.com): msn count
(2:13:16 PM) Anika (Now with CI): Total:646
(2:13:16 PM) Anika (Now with CI): Online:41
(2:13:17 PM) Anika (Now with CI): Blocked:0
(2:13:17 PM) Anika (Now with CI): OnAllowedList:646
(2:13:18 PM) Anika (Now with CI): OnBlockedList:0
(2:13:19 PM) Anika (Now with CI): OnForwardList:203
(2:13:19 PM) Anika (Now with CI): OnReverseList:254

 

4 Comments

Comments have been disabled for this content.