Hi,
I have reset the value of Property threshold and threshold for the below rule for quality profile of my organization :
But the change is not reflecting in issues. Tried multiple times. Could someone please suggest on this?
Thanks!!
Hi,
I have reset the value of Property threshold and threshold for the below rule for quality profile of my organization :
But the change is not reflecting in issues. Tried multiple times. Could someone please suggest on this?
Thanks!!
Hi,
Let’s start by verifying a few things:
Ann
Hi Ann,
Thanks for the reply.
I have verified it and results are as follow:
Hi,
How about a screenshot of an issue you think should be closed? And also a screenshot of the activation section of your rule? E.G.
Ann
Hi @DGUCOM,
Could you check, on the build machine, the content of the file .sonarqube/conf/cs/SonarLint.xml
? It should contain a block like the following and will have some values. Are those values the ones you expect (i.e. threshold: 60
and propertyThreshold: 30
)?
<Rule>
<Key>S3776</Key>
<Parameters>
<Parameter>
<Key>threshold</Key>
<Value>15</Value>
</Parameter>
<Parameter>
<Key>propertyThreshold</Key>
<Value>3</Value>
</Parameter>
</Parameters>
</Rule>
Cheers,
Amaury
Hi Amaury,
Thanks for the reply. I checked the file and output is not as expected. Please refer below:
<Rule>
<Key>S3776</Key>
<Parameters>
<Parameter>
<Key>threshold</Key>
<Value>15</Value>
</Parameter>
<Parameter>
<Key>propertyThreshold</Key>
<Value>3</Value>
</Parameter>
</Parameters>
</Rule>