Because the company is a maven project, only the construction of the
maven
.
Set the configuration sonarqube
Finally, you can build the job
Build a maven project The
key configuration is as follows
After the build is complete, you can go to the sonarqube server to see the structure
In order to directly see the results generated by jacoco on jenkins, you can use the jacoco plugin of jenkins to add post-build operations to
the built project configuration After the
build is complete, you can see the following chart on the jenkins project home page
]