I am using * Enterprise Edition* Version 9.5 (build 56709) and below are some observations.
- My project build time is 3 mins with thread count 16
- Running the sonar scan with the same thread count give nullpointer exception.
mvn -B -Dsonar.java.binaries=src/main/java clean sonar:sonar -T16
- Also how i can improve the sonar scan time.
Thanks @Dennis_DECA
I am trying to enable pull request scan. and my CI is in jenkins with multibranch pipeline. Is there any documentation which can help here.I used below parameters
sonar.pullrequest.key=
sonar.pullrequest.branch=
sonar.pullrequest.base=
and when PR is created it scan whole project instead of changes in PR. Any configurations i am missing to make this work?