CI using maven

Go to your Team project and choose “Build & Release” -> Builds -> New definition

Select the template Maven

Select your preferred repository (Workshop) and enable the Continuous Integration checkbox. Choose the hosted agent, this are publicly used agents with the most basic of components installed when u need something special to be installed on the server you need to take care of your own server and install a build agent.

Click Create.
Set the location of the Maven POM file.

Choose JaCoCo as your Code Coverage Tool
Click provide a catchy name when u save and queue a build to generate your artifacts.