yes exactly!!! Project page has a title "Build Failed" and in th grid
where i can see all the projects it is "Success".

As I said,

In ccnet.config i have
> > <tasks>
>
> > <exec executable="C:\SGV\MAINAUT\Teletrack\SOA\Services
> > \Teletrack.Services.Encryption\build.bat" errorstr="build failed" />
>
> > </tasks>
>
> > Build.bat has:
>
> > ant -f C:\SGV\MAINAUT\Teletrack\SOA\Services
> > \Teletrack.Services.Encryption\build.xml
>>echo %ERRORLEVEL%
> > exit %ERRORLEVEL%

this project is failing and i have included echo %ERRORLEVEL%.
if I add errorstr in ccnet.config exec  task ccnet is throwing
exception. so i removed it.

after all these dashboard is still showing success!!!

Thanks,
Praveen

On Nov 25, 3:09 am, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> Hi
>
> Do you mean that the project page has a title of 'Build Failed'
> and in the grid where you can see all the projects, it is Success?
>
> I find this hard to believe, since both pages consult the same setting.
>
> What can be is that the project pages has lines in the error section,
> but the build is marked as successfull. This has the following cause :
> The program used to do the build does not return errorcodes correctly.
>
> Suppose it outputs errors like so
> Error file X not found
> but the return code of the program is 0, than you have a problem.
>
> the project pages scans the build report for lines containing 'error', or
> lines that are marked as error
> (program exited with non zero exit code)
>
> To test this, force a build that will fail for sure,
> and also echo the exit code, so you can see if the above situation occurs.
>
> with kind regards
> Ruben Willems
>
>
>
> On Tue, Nov 25, 2008 at 8:50 AM, praveen <[EMAIL PROTECTED]> wrote:
>
> > i went throgh the link. it did not help me.
>
> > In ccnet.config i have
> > <tasks>
>
> > <exec executable="C:\SGV\MAINAUT\Teletrack\SOA\Services
> > \Teletrack.Services.Encryption\build.bat" errorstr="build failed" />
>
> > </tasks>
>
> > Build.bat has:
>
> > ant -f C:\SGV\MAINAUT\Teletrack\SOA\Services
> > \Teletrack.Services.Encryption\build.xml
> > exit %ERRORLEVEL%
>
> > still build staus on dashboard is success!!
>
> > any help??
>
> > Thanks,
> > Praveen
>
> > On Nov 25, 2:43 am, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> > > Hi
>
> > > Check out the FAQ athttp://
> > confluence.public.thoughtworks.org/display/CCNET/FAQ
>
> > > *CruiseControl.NET is reporting that the build succeeded when it failed.
> > > Why?*
> > > there are some steps to diagnose the problem
>
> > > with kind regards
> > > Ruben Willems
>
> > > On Tue, Nov 25, 2008 at 8:26 AM, praveen <[EMAIL PROTECTED]>
> > wrote:
>
> > > > Hi,
>
> > > >  I have batch file which has script to build in ccnet.config file.
> > > > eventhough
> > > >  build fils, on dashboard it shows success. If i see the latest build
> > > > report
> > > >  there it is showing build failed. i want it to display on dashboard
> > > > also!!
> > > >  any solution??.
>
> > > >  Thanks,
> > > >  Praveen- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to