GIT REPO —> RUN TEST —> BUILD JAR FILE
Steps
Step 1: Create a new freestyle job

Step 2: Configuration = from Git, then set up Git repository

Step 2: Scroll down to the build steps and select Add build step, > invoke top level maven target > then save.

Step 3: Go to java-maven-build > click build now to test and package the file. After a successful build, open the build process and click console output.

