Hi Craig/Ruben,

I can able to set the build status according to my tool output.

But if you verify the project detailed reports.

Build Report shows as build failed. [according to my tool result which
returns exitcode=1]
But NAnt Output shows build succeeded. [which contains exception and
other tool o/p details.]

why build status is different in reports? I want show NAnt Output
report also as build
failed if exec task failed.

Currently i working on integrating mytool with ccnet and mytool takes
care of both source control(svn) & compilation. Am not using any
external NAnt build file.


My ccnet.config is

<cruisecontrol>
<project name="Test" queue="TestQueue" queuePriority="1">

        <triggers>
                <scheduleTrigger time="03:00" buildCondition="ForceBuild"
name="Scheduled">
                </scheduleTrigger>
        </triggers>

        <labeller type="defaultlabeller">
                <prefix>1.0.</prefix>
                <incrementOnFailure>true</incrementOnFailure>
                <labelFormat>000</labelFormat>
        </labeller>

        <tasks>
                <exec>
                        <executable>MyBuildTool.exe</executable>
                        <buildTimeoutSeconds>600</buildTimeoutSeconds>
                        <successExitCodes>0</successExitCodes>
                </exec>
        </tasks>

        <publishers>
                        <rss/>
                        <xmllogger />
                        <statistics />

                        <!-- Email build report to development and QA team -->

        </publishers>

</project>
</cruisecontrol>

Please share if you have any ideas.

Thanks in Advance.

Warm Regards,
Murthy

Reply via email to