Re: Send email to list of users from file

Julian Simpson <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CANwBkz_G6BJn5Vj8Mdkhqy1V8GK26MOBGyv9zDz5W1bRU+iqag@mail.gmail.com>
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

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