Hi

I would suggest the following : take one of the latest nightly builds.

They contain a new task : ModificationReader
http://confluence.public.thoughtworks.org/display/CCNET/Modification+Reader+Task
This task reads back in modifications made with the modification writer.
It's best placed first inside the prebuild section, so other tasks can also
see these read modifications.


http://confluence.public.thoughtworks.org/display/CCNET/Modification+Writer+Task
Be sure to set the appendTimestamp to true, otherwise you'll overwrite the
same file.


Now you have all the modifications in the current integration result, and
you can use the existing functionality.
Also when the task using the modificationreader has run ok, be sure to
delete the files
oterwise you'ill keep reading them.


hope this helps

with kind regards
Ruben Willems



On Fri, Aug 29, 2008 at 11:46 AM, DaveMoor <[EMAIL PROTECTED]> wrote:

>
> Hi
>
> I am planning to write a plugin (my first) to process the SVN comments
> into a formatted change log to include in my emails.  There is a twist
> which means I will need to store the current repository version
> between builds to know where to continue the change log from.  My idea
> was to use an XML file for this, I assume the best place for this is
> the Aritfacts directory of the project, can I access that location
> easily from a plugin?
>
> Also I assume I need to merge the output into the build log so I can
> then produce an XSL translation file to format it and include it in
> the email message, is that easy to do also?
>
> My complication in all this is I have a number of projects triggered
> by repository changes but these do not produce installation files,
> they only make sure the CI server has the latest code compiled
> successfully.  I then have some manually triggered projects which wrap
> different combinations of the triggered projects into installation
> files, for these I want to produce change logs. I will therefore need
> to call my plugin multiple times for a particular installation project
> to query the individual SVN repositories which make up the install
> (also a repositiory will probably have multiple commits between
> installation builds).  So for each installation project I need the an
> XML file containing the repositories queried and the last revision of
> that repository included in the last successful build (I'll call it
> from the publishers section).
>
> Thanks In Advance
>
> Dave
>

Reply via email to