Hi,
We would like to implement an action list (e.g. OnStop) which will we fired in case of stopping the build. Is there an event where we can register? The aim is to clean up some things in that case.
Hi,
We would like to implement an action list (e.g. OnStop) which will we fired in case of stopping the build. Is there an event where we can register? The aim is to clean up some things in that case.
No Hints?
Sorry there is no on stop event, if you stop the build then it will stop when the currently executing action is exits (some can be interrupted some can’t, depends what they are doing). If you are talking about when it finishes normally then simple put the main actions in an action list which you call from the main actionlist, and wrap that in a try/finally and do the cleanup in the finally block.
Well, we like each developer would still have the option to stop a build at any time via FinalBuilder Server GUI. This makes it necessary, however, that we have to clean up some things. For example, to undo checkouts, so the next build will work again. That’s the idea.