I am using sonar false-positive feature in my project deployed on sonar server. If I had declared as false positive on master branch. What happens if i analyzed dev branch which is same files.?

issues

(sudhakar) #1

I am using sonar false-positive feature in my project deployed on sonar server and i have marked some violation instances as false positive in master branch.

Now i have analyzed same project, but different branch in sonar having the same code base and deploy it on sonar. As code base is almost simlilar for both of my projects this is obvious that those “50” violation instances will occurs here also, which i have marked as false-positive in my previous analysis of master branch.

Now i dont want to spend time to mark these instances as false-positive again.

so i want to ask is there any way to mark these “5o” violation instances as false-positive by refering my first project without doing manually??


(G Ann Campbell) #2

Hi,

As described in the docs issues are synchronized at the first analysis of a long-lived branch.

 
Ann