The logic behind the "Abort Build" feature is that an aborted build is a
failed build (it got aborted because it would have failed otherwise).
I'm not sure if this is the best solution, maybe this needs some
discussion. At least it should add an error to the log telling that the
project got aborted...

Should an aborted build make the project fail or should it stay in it's
last successful state? Or should there be a way to configure the behavior?

Any further comments appreciated.

regards,

Daniel


JDAVIDI writes:
> Greetings,
> 
> Below is a log snippet from when I issued an Abort Build to when it
> aborted.
> 
> I was expecting the project to remain in its previous 'successful'
> state (akin to killing the ccnet.exe console), but instead the project
> flipped to a failure state and ended up emailing the engineers on the
> last modification list with no errors listed or any indication of the
> abort.
> 
> Is this behavior by design, or did it happen to be caused by where the
> the project was (mid-Visual Studio build) when the abort was
> processed?
> 
> Thank you,
> 
> --jdavidi
> 
> 2008-08-29 08:21:50,739 [5532:INFO] jdav aborted the running Build for
> project: CruiseControl 9.04 Base RateBill
> 2008-08-29 08:21:51,320 [CruiseControl 9.04 Base RateBill:DEBUG]
> 2008-08-29 08:21:51,330 [CruiseControl 9.04 Base RateBill:DEBUG]
> Microsoft (R) Visual Studio Version 8.0.50727.762.
> 2008-08-29 08:21:51,330 [CruiseControl 9.04 Base RateBill:DEBUG]
> Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
> 2008-08-29 08:21:51,330 [CruiseControl 9.04 Base RateBill:DEBUG]
> ------ Rebuild All started: Project: DBLibrary, Configuration: Debug
> Win32 ------
> 2008-08-29 08:21:51,330 [CruiseControl 9.04 Base RateBill:DEBUG]
> Deleting intermediate and output files for project 'DBLibrary',
> configuration 'Debug|Win32'
> 2008-08-29 08:21:53,212 [5532:INFO]
> ------------------------------------------------------------------
> 2008-08-29 08:21:53,212 [5532:INFO] ---------The Build Process was
> successfully aborted---------------
> 2008-08-29 08:21:53,212 [5532:INFO]
> ------------------------------------------------------------------
> 2008-08-29 08:21:53,232 [CruiseControl 9.04 Base RateBill:INFO] Task
> execution failed
> 2008-08-29 08:21:53,232 [CruiseControl 9.04 Base RateBill:INFO] Task
> output:
> Microsoft (R) Visual Studio Version 8.0.50727.762.
> Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
> ------ Rebuild All started: Project: DBLibrary, Configuration: Debug
> Win32 ------
> Deleting intermediate and output files for project 'DBLibrary',
> configuration 'Debug|Win32'
> 
> 2008-08-29 08:21:53,232 [CruiseControl 9.04 Base RateBill:INFO] Devenv
> build complete.  Status: Failure
> 2008-08-29 08:21:53,453 [CruiseControl 9.04 Base RateBill:INFO]
> Emailing "CruiseControl 9.04 Base RateBill Build Failed" to
> [EMAIL PROTECTED], [EMAIL PROTECTED]
> 2008-08-29 08:21:53,573 [CruiseControl 9.04 Base RateBill:INFO]
> Integration complete: Failure - 8/29/2008 8:21:53 AM
> 2008-08-29 08:21:53,683 [CruiseControl 9.04 Base RateBill:INFO]
> Integrator for project: CruiseControl 9.04 Base RateBill is now
> stopped.

Reply via email to