How do you know when all 7 projects are completed, to trigger the
final email project? Are they built in order from a single queue, or
separately?

I was looking at the Project Trigger option, but it seems you can only
trigger from one other project. What I'd like to do is have a "final
task/project" that sums everything up (makes any svn commits and email
reports) after all my projects have run. Ideally, it would listen to
all the projects' status and wait for them to finish building, then
run its own tasks. Is it possible to have a Project Trigger wait for
more than one project to complete?

thanks
Michael

On Aug 7, 11:35 pm, Ruben Willems <[email protected]> wrote:
> Hi
>
> your solution is the only one I know that will do the job.
> publishing is for a single project, how the project gets the data is done
> via it's task / source control.
>
> another way could be the following :
> let projects 1 through 7 write extra information to a known location,
> and final-project merges these files.
> --> so the 'merge.vbs' is now split across the other projects
>
> I do not know what kind of information you want to 'merge'
> ° files changed in source control
> ° output of tasks
> ° ....
>
> with kind regards
> Ruben Willems
>
> On Wed, Aug 5, 2009 at 6:08 AM, 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