How to call sonar api from my java code

No, there is no web api call that takes a project file path as parameter.
You have to write your own script/plugin that makes use of the Sonarqube web api.
Also did you read about the sonar-cnes-report and Governance plugin in this post ?

1 Like