Hi, just saw you need after all tasks and not after all tests. afterSuite doesn't fit here of course...
Am Fr, 4.02.2011, 12:17, schrieb Rene Groeschke: > Hi Etienne, > > > maybe afterSuite closure fits your needs? > > regards, René > > > Am Fr, 4.02.2011, 09:08, schrieb Etienne Studer: > >> Hi >> >> >> >> What I am missing (or at least I have not been able to find) is a hook >> that gets called after all tasks have been executed but before the build >> is finished. >> >> The hook 'buildFinished' is called after the command line says 'BUILD >> SUCCESSFUL'. What I would like to have is a hook right after all tasks >> have been executed so I can still decide whether the build has been >> successful or not (depending on the outcome beyond one task). For >> example, maybe I want to make the build fail if the project took more >> than 10s to execute. Or maybe I want to fail the build if more than >> 1000 >> tests have been run. >> >> Feedback is appreciated. >> >> >> >> Regards, Etienne >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
