It is possible.. With a sequential task http://build.nauck-it.de/doc/CCNET/Sequential%20Task.html
Dont know who owns this build server.. Just found it with google... Regards Am 25.11.2011 um 16:25 schrieb Pau Garcia i Quiles <[email protected]>: > Hi, > > One of the steps of the build of my project requires updating a database. > > I have a small utility which is run as the first task and mounts the > database. That's the "setup" part. > > I am also invoking the utility as the last task to dismount the > database. That's the "teardown" part. > > Problem is when the build fails for some reason, CC.NET never executes > the teardown part, therefore the database connection remains open, > which causes trouble. > > Is it possible to force-run some tasks, even after an exception? Something > like: > > try { > All the steps in the build process go here > } finally { > Teardown > } > > Thank you > > -- > Pau Garcia i Quiles > http://www.elpauer.org > (Due to my workload, I may need 10 days to answer)
