Clean build or a post build action

I am running  a bunch of maven builds using teamcity.
I need to drop the databases after each build.

I was looking at swabra plugin. It says that it can be used with maven. I am curios if it runs 'mvn clean' to perform cleanup.

Also I was wondering if there is a similar way to do cleanup for grails apps (running 'grails clean') after/before a grails build


Please sign in to leave a comment.