Performing SonarQube Code Analysis as Checking Policy in TFS

Hi
TFS also has an internal code analysis which can be used as Checking Policy , If the code passed all rules defined in Sonar Qube , it will allow code to checkined into TFS.

Anyone experienced?

Thanks!

Hello Waseem,

I have no experience with “Checking Policy” in TFS and I am not sure what are you trying to achieve.
You need to further explain.

Greetings,
Kris

Explanation:
I want to run the code analysis with SonarQube before checkin code into TFS Sopurce control. ALL rules must be valudated before checkin of code.

Is there any workaround.