jenkinsci / java-client-api

A Jenkins API client for Java
MIT License
896 stars 468 forks source link

Improve MAVEN build Performance #491

Closed SilverSteven closed 1 year ago

SilverSteven commented 2 years ago

According to Maven parallel test, we can run tests in parallel.

That report generation takes time, slowing down the overall build. Reports are definitely useful, but do you need them every time you run the build. We can conditionally disable generating test reports by setting <disableXmlReport>true<disableXmlReport>. If you need to generate reports, just add -DcloseTestReports=false to the end of mvn build command.

===================== If there are any inappropriate modifications in this PR, please give me a reply and I will change them.