Deploy the webapp by checkout of the repo, packaging and building the artifact, clearing the previous webapps on tomcat and gracefully handling tomcat start/stop.