Re: Sending an email as the build starts

Antoine Levy-Lambert <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
What would work is to change your build.xml to send the email. Ugly. You 
would need to maintain your script to change the list of recipients.

Other solution is to give access to your developer either to the 
dashboard or cruisecontrol web app

Other solution the cruisecontrol tray.

I think these two solutions are nicer.

Maybe you also need to add some monitoring somewhere to look for hanging 
processes.

If by any chance your build server is running on Windows, a command line 
tool called "pv.exe" from teamcti is able to list the running processes 
with the full command line and process id and start time.

Once you have that, using also "pskill" from sysinternals you can kill 
processes which have been running too long automatically. Or send alert 
emails.

Regards,

Antoine

On 3/2/2011 7:59 AM, Steve Murphy wrote:
> Hello,
>
> At the request of one of the developers that use the CruiseControl 
> system I maintain, I'm looking for a way to send out an email when a 
> build starts.  He reasoning being that after receiving the start email 
> if he does not receive the pass/fail email within x minutes he knows 
> something has gone wrong and the system needs looking at.
> I have though about having another project use the file system 
> modification set to detect a file that is created by the main project, 
> this project would probably only contain an email publisher.  However 
> before I do this I thought I'd check if there was anything in the 
> configuration that might already do this.
> Thanks
> S

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.