Performing SonarQube Code Analysis as Checking Policy in TFS

tfs
vsts

(Waseem Bukhari) #1

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!


(Krzysztof Jazgara) #2

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


(Waseem Bukhari) #3

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.