Sorry for the delay. Here it is. I've trimmed out other projects.
Also, the project registers a few COM objects; I've left one in as an
example.

I would have uploaded the file itself, but I can't see how to do that.
Hopefully this won't mangle the xml. Here goes...


<!DOCTYPE cruisecontrol [
        <!ENTITY svn "
                <executable>C:\Program Files (x86)\VisualSVN 
Server\bin\svn.exe</
executable>
                <username>SvnUser</username>
                <password>SvnPass</password>
                ">
        <!ENTITY msbuild-path "<executable>C:\WINDOWS\Microsoft.NET\Framework
\v3.5\MSBuild.exe</executable>">
        <!ENTITY msbuild-logger "<logger>C:\Program Files
(x86)\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MSBuild.dll</
logger>">
        <!ENTITY nunit-path "<path>C:\Program Files (x86)\NUnit 2.4.8\bin
\nunit-console.exe</path>">
]>
<cruisecontrol>
        <project name="MyProject" queue="MyProjectQueue" queuePriority="1">
                <category>MyProject</category>
                <webURL>http://shovavnik.dyndns.org/ccnet/</webURL>
                <workingDirectory>D:\Integration\MyProject\Builds\Debug
\WorkingDirectory</workingDirectory>
                
<artifactDirectory>D:\Integration\MyProject\Builds\Debug\Artifacts</
artifactDirectory>
                <modificationDelaySeconds>10</modificationDelaySeconds>

                <triggers>
                        <intervalTrigger seconds="10800" name="continuous"
buildCondition="IfModificationExists" /> <!-- 3 hours -->
                </triggers>

                <sourcecontrol type="svn">
                        <trunkUrl>https://host/svn/my-project/trunk</trunkUrl>
                        &svn;
                </sourcecontrol>

                <tasks>
                        <exec>
                                <executable>regsvr32</executable>
                                <baseDirectory>Controls\Codejock</baseDirectory>
                                <buildArgs>/s 
Codejock.CommandBars.Unicode.v11.2.2.ocx</buildArgs>
                                <buildTimeoutSeconds>60</buildTimeoutSeconds>
                        </exec>

                        <msbuild>
                                &msbuild-path;
                                &msbuild-logger;
                                <buildArgs>/noconsolelogger 
/p:Configuration=Debug /v:diag</
buildArgs>
                        </msbuild>

                        <nunit>
                                &nunit-path;
                                <assemblies>
                                        
<assembly>D:\Integration\MyProject\Builds\Debug\WorkingDirectory
\MyProject.Helpers.Tests\bin\Debug\MyProject.Helpers.Tests.dll</
assembly>
                                </assemblies>
                        </nunit>

                        <nunit>
                                &nunit-path;
                                <assemblies>
                                        
<assembly>D:\Integration\MyProject\Builds\Debug\WorkingDirectory
\MyProject.Logic.Tests\bin\Debug\MyProject.Logic.Tests.dll</assembly>
                                </assemblies>
                        </nunit>

                        <nunit>
                                &nunit-path;
                                <assemblies>
                                        
<assembly>D:\Integration\MyProject\Builds\Debug\WorkingDirectory
\MyProject.Activities.Tests\bin\Debug\MyProject.Activities.Tests.dll</
assembly>
                                </assemblies>
                        </nunit>
                </tasks>

        </project>
</cruisecontrol>


On Oct 10, 12:13 am, Jay <[EMAIL PROTECTED]> wrote:
> Can you post a copy of your ccnet.config?
>
> -- Jay Harris
>
> On Oct 7, 1:48 pm, shovavnik <[EMAIL PROTECTED]> wrote:
>
> > I have a relatively simple build that has been running for a few
> > months without any problems.
>
> > The build uses msbuild 3.5 with .net 2.0 and nunit 2.4.8. The project
> > uses SVN for source control. This project doesn't have any other build
> > extensions.
>
> > On a recent commit, the build ran and reported a build failure.
> > However, examining the build logs (both msbuild and the ccnet) showed
> > no errors. All the NUnit tests pass. I ran all the unit tests in NUnit
> > GUI and they all pass.
>
> > I ran ccnet.exe on the command line to find any hidden exceptions but
> > couldn't find any.
>
> > Anybody have an idea what could cause this or pointers on where to
> > look?
>
> > TIA!

Reply via email to