# Optional - specifies additional rules outside of what's included in the core
sonar.zaproxy.rulesFilePath=${WORKSPACE}/myrules.xml
along side reportPath such as it is with the Jenkins WORKSPACE reference seems to imply that custom rules may be defined in this at analysis time. Is this the intention?
I am trying to develop my own plugin that can pass new rules in and a report that triggers them at the same time, and this looked like it might do what I want.
Am I missing how this is supposed to work? Do I have the wrong idea or am I doing it wrong? Is there an example I can follow?
For reference, here is the properties and file I am passing with the Jenkins plugin:
The documentation for
rulesFilePath
:along side
reportPath
such as it is with the Jenkins WORKSPACE reference seems to imply that custom rules may be defined in this at analysis time. Is this the intention?I am trying to develop my own plugin that can pass new rules in and a report that triggers them at the same time, and this looked like it might do what I want.
Am I missing how this is supposed to work? Do I have the wrong idea or am I doing it wrong? Is there an example I can follow?
For reference, here is the properties and file I am passing with the Jenkins plugin:
test-rules.xml
test-report.xml:
When I run this analysis with SonarQube 6.6, I get this warning about the rule I am trying to create: