I’m trying to create an XPATH rule for xml files but when I run sonar-scanner it does not seem that the custom rule is evaluated.
I’ve created a simple XML fle and a simple XPATH and a quality gate and activated that custom rule with the quality gate.
The XPATH expression is the sample given:
And the XML file is containing that.
I’ve installed sonarqube 7.9.1 on postgreSQL and using sonar-scanner-22.214.171.1244-windows.
Is there a tutorial step by step which can help me?