- Clone the repo
git clone https://github.com/Ramkhushi/JacocoExample.git
- Change the Java Version
update-alternatives --config javac
update-alternatives --config java
- Create a report using
mvn package
- Check the report
Go to target ->site->jacoco>index.html
- Install Jacoco plugins
Manage jenkins ->Plugins -> Available Plugins >Jacoco
- Create a new build in Jenkins







