I used to write Xpath custom rules up to SonarQube-3.7.4 but I don't find the way to write custom xpath rules in SonarQube 5.1.
I am able to write a custom rules plugin written in Java, but I would prefer using xpath if it is possible.
Any idea?
I used to write Xpath custom rules up to SonarQube-3.7.4 but I don't find the way to write custom xpath rules in SonarQube 5.1.
I am able to write a custom rules plugin written in Java, but I would prefer using xpath if it is possible.
Any idea?
Writing xpath rule in SQ5.1 is possible. Go to rules, select language xml, in search box , type xpath and click enter. You will get xpath rule xml label , click on it , it will give you the interface to create xpath custom rule.(click on custom rule create tag)