Sample Tomcat Maven App which will automatically build the code using maven on any code-change trigger.
Also, will automatically test the same by deploying the resulting war file to a tomcat container and test it using curl command.
Click on Actions to see the running pipeline/workflow.