Re: Send email to list of users from file

Julian Simpson <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CANwBkz-hoNbKVORfxeVWsQR=Z42rHmxOq0huu1WZMHCuida_aw@mail.gmail.com>
On 20 July 2011 21:27, Adam Bruss <[email protected]> wrote:

>  What would it take to add a feature to cruisecontrol to have it input the
> list of email users from an xml file? ****
>
> **
>

Doesn't sound too complicated.

J.


> **
>
> For example:****
>
> ** **
>
> <emailusers>****
>
>    <user email=”[email protected]”/>****
>
> </emailusers>****
>
> ** **
>
> CruiseControl would read this xml file at email-send-time to form the list
> of email targets. The already existing elements for controlling the
> recipients would be in addition to this.****
>
> ** **
>
> Thanks,****
>
> Adam****
>
> ** **
>
> Adam Bruss****
>
> Senior Development Engineer****
>
> AWR Corporation****
>
> 11520 N. Port Washington Rd., Suite 201****
>
> Mequon, WI  53092  USA****
>
> P: 1.262.240.0291 x104****
>
> F: 1.262.240.0294****
>
> E: [email protected]****
>
> W: http://www.awrcorp.com****
>
> ** **
>
> *From:* Julian Simpson [mailto:[email protected]]
> *Sent:* Monday, July 04, 2011 9:40 AM
>
> *To:* [email protected]
> *Subject:* Re: [Cruisecontrol-user] Send email to list of users from file*
> ***
>
> ** **
>
> Hi,****
>
> On 2 July 2011 14:25, Adam Bruss <[email protected]> wrote:****
>
> It’s an arbitrary repository that cruisecontrol knows nothing about. ****
>
>  ****
>
> ** **
>
> Ouch.****
>
>  ****
>
>  The mail that comes from cruisecontrol is formatted with the xsl and css
> into attractive html emails. If I sent mail through my build tool, which is
> Ant, it wouldn’t be formatted in this way. I would need access to the
> cruisecontrol log to transform it with xsl and stylize with css.****
>
>  ****
>
> Any tips on how to make the emails that would come from my build tool look
> exactly the same as the ones that come from cruisecontrol htmlemail? It
> seems like you’re suggesting I abandon the cruisecontrol email altogether in
> favor of using a build tool.****
>
>  ** **
>
> Duplicating what CruiseControl does would seem really painful.  You could
> try using XSL to transform the XML file that contains the arbitrary changes,
> into CruiseControl format, and then using the <merge> element to add that to
> the logs.  Can't dig into the code right now to see how feasible that is
> w.r.t. emailing the users.****
>
> ** **
>
> Best****
>
> ** **
>
> J.****
>
> ** **
>
>  ****
>
>    ****
>
> Adam Bruss****
>
> Senior Development Engineer****
>
> AWR Corporation****
>
> 11520 N. Port Washington Rd., Suite 201****
>
> Mequon, WI  53092  USA****
>
> P: 1.262.240.0291 x104****
>
> F: 1.262.240.0294****
>
> E: [email protected]****
>
> W: http://www.awrcorp.com****
>
>  ****
>
> *From:* Julian Simpson [mailto:[email protected]]
> *Sent:* Friday, July 01, 2011 5:04 PM
> *To:* [email protected]
> *Subject:* Re: [Cruisecontrol-user] Send email to list of users from file*
> ***
>
>  ****
>
>  ****
>
> On 1 July 2011 15:53, Adam Bruss <[email protected]> wrote:****
>
> Hello,****
>
>  ****
>
> We have a cruisecontrol project that listens to a file for knowing when to
> do a build. Part of the build process is calculating the changes between two
> revisions of an arbitrary subversion repository.****
>
> This results in an xml file with a list of changes each with user, log
> message and command type.****
>
>  ****
>
> I’d like to have cruisecontrol send mail to the users who made changes to
> the repository mentioned above. ****
>
>  ****
>
>  ****
>
> If that repository is generating the modificationset, you can use the <map>
> element to map usernames to email addresses.****
>
>  ****
>
> If it's just an arbitrary repository that CruiseControl doesn't know
> anything about, I'd look to implement this in your build tool.****
>
>  ****
>
> J. ****
>
>  Is there a way to point cruisecontrol to a file for it to get the list of
> email addresses to send to?****
>
>  ****
>
> Thanks,****
>
> Adam****
>
>  ****
>
> Adam Bruss****
>
> Senior Development Engineer****
>
> AWR Corporation****
>
> 11520 N. Port Washington Rd., Suite 201****
>
> Mequon, WI  53092  USA****
>
> P: 1.262.240.0291 x104****
>
> F: 1.262.240.0294****
>
> E: [email protected]****
>
> W: http://www.awrcorp.com****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user****
>
>
>
>
> -- ****
>
> Julian Simpson****
>
> The Build Doctor Ltd.****
>
> http://www.build-doctor.com****
>
> [email protected]****
>
> (+44) 207 183 0323****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user****
>
>
>
>
> -- ****
>
> Julian Simpson****
>
> The Build Doctor Ltd.****
>
> http://www.build-doctor.com****
>
> [email protected]****
>
> (+44) 207 183 0323****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 5 Ways to Improve & Secure Unified Communications
> Unified Communications promises greater efficiencies for business. UC can
> improve internal communications as well as offer faster, more efficient
> ways
> to interact with customers and streamline customer service. Learn more!
> http://www.accelacomm.com/jaw/sfnl/114/51426253/
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>


-- 
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]
(+44) 207 183 0323

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1

_______________________________________________
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.