Click here to Skip to main content
15,888,003 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have integrated my application in CI/CD Process and created build for sonar Qube and its working as expected . i need to exclude some js files and other libraries from sonar scanning.

i have done sonar.exlusions but it did not work.

What I have tried:

sonar.exlusions in Azure build pipeline 
Posted
Updated 16-Nov-20 6:10am
Comments
[no name] 16-Nov-20 11:06am    
You said "it's working as expected". If you "exclude some files", maybe it will stop working.
Chinnu2020 16-Nov-20 11:21am    
# sonar.exclusions=**/*.bin
sonar.exclusions=**/*.Scripts

I mentioned above in
Prepare analysis on SonarQube
it nots excluding

 
Share this answer
 
# sonar.exclusions=**/*.bin
# sonar.exclusions=**/*.Scripts


i mentioned above in
Prepare analysis on SonarQube

it nots exluding
 
Share this answer
 
Comments
Richard MacCutchan 16-Nov-20 12:09pm    
I suspect the hash character at the beginning makes that a comment, so it is probably ignoring those lines.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900