Rashid
(Mohd Rashid)
1
Hi All,
I want to skip or ignore js file during sonar analysis scan reports generate.
Here is the screenshot of analysis report generate
and
This is the sonar-project-properties file that im using in jenkins job
Please help how can i skip the js file scanning done
Where im wrong and i dont know how to add in sonar.exclusions=/var/jenkins_home/workspace/Sonar/Fxt/Web/src/main/ui/
Note : My scan code path this one
/var/jenkins_home/workspace/Sonar/Fxt/Web/src/main/ui/
Reports are generating from above path.
Colin
(Colin)
2
Hey there.
Take a peek at the Narrowing the Focus documentation. You are probably interested in an exclusion like
**/*.js
Out of curiosity, why do you want to exclude all Javascript files?
1 Like
Rashid
(Mohd Rashid)
3
i dont want to exclude javascript .
i just to remove or skip or ignore javascript files from begin scanning in sonar analysis .
Please i try everything but javascript file still showing in sonar analysis.
and https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/ – this one also im not able to understand about exclusion how to add in it.
Rashid
(Mohd Rashid)
4
Thanks Colin
It help me to solve that problem
system
(system)
Closed
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.