The programmer submits the code to the Git/SVN warehouse, triggers the hook program to notify Jenkins, and Jenkins calls the Git/SVN plug-in to obtain the source code, calls Maven to package it into a war package, and calls the Deploy to web container plug-in to deploy to the Tomcat server.