Hi

I'm interested in implementing something similar. Did you find a
solution?

thanks
Michael

On Aug 4, 9:08 pm, GHarmonDDVA <[email protected]>
wrote:
> I have 7 projects that execute various tasks.  Once these 7 projects
> are complete, I need a single email to go out to the team indicating
> the pass/fail of those 7 tasks.  I have no problem with configuring
> ccnet.config to send an email per project, but, I don't see/know the
> commands/keywords to grab the status of an executed project and place
> them into an email.  At least, not using ccnet.config only.
>
> I can write a vbs script that gathers the info and shoots a single
> email, but, my supervisor wants it to all be done without me using
> vbs.
>
> For example:
>
> <project name="Final Results">
>   <triggers/>
>   <task>
>     <exec>
>       <execute>c:\Get_results_Projects_1_through_7.vbs</execute>
>     </exec>
>   </task>
>
>  <publishers>
>   <statistics/>
>   <merge>
>     <files>
>       <file>C:\Program Files\CruiseControl.NET\server\Final Results
> \Artifacts
> \TestResult.xml</file>
>      </files>
>   </merge>
>   <xmllogger logDir="C:\Program Files\CruiseControl.NET\server\Final
> Results\Artifacts\buildlogs"/>
>
>   <email from="[email protected]" mailhost="internal.com"
> includeDetails="TRUE">
>     <users>
>       <user name="me" group="buildmanager" address="[email protected]"/>
>     </users>
>
>     <groups>
>       <group name="buildmanager" notification="Always"/>
>     </groups>
>
>   </email>
>
>  </publishers>
> </project>
>
> Is there a way to grab the executed pass/fail results and email them
> using the internal infrastructure of CC?  Or, is it a one shot deal?
> Meaning, it's only "sendable" when the project completes and the
> results are "published"?

Reply via email to