sonar property file & Analysis properties are getting exclusion in them

0 votes

How am I gonna add exclusions in sonar "Analysis properties" in jenkins even exclusion available in sonar property file.

I have exclusions in property file, and I have added exclusion in "Analysis properties" in jenkins. But while scanning it is excluding only the files given in "Analysis properties", but not from the property file.

I need the exclusion stated both in Property file as well as from the Analysis properties field and I am stuck.

Can anyone help me with this?

Jun 5, 2018 in Other DevOps Questions by Atul
• 10,220 points
416 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I think following things should be kept in mind. Properties are not cumulative. As described at the top of this page, there is a fallback structure and the first-found value is the one that's used from this order of checking:

  1. Properties file
  2. Command line
  3. project-level properties defined in the UI
  4. global-level properties

I hope that the above information will be useful to you.

answered Jun 5, 2018 by Damon Salvatore
• 5,450 points

Related Questions In Other DevOps Questions

0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,670 points
178 views
0 votes
1 answer

How do I preserve local ivy repository in Bluemix BUILD & DEPLOY?

You're right--the pipeline spins up a new ...READ MORE

answered Jul 17, 2018 in Other DevOps Questions by Atul
• 10,220 points
24 views
+1 vote
2 answers

When do we use Chef or Azure SDK to create VM and deploy in automation

The solution to the automated deployment in ...READ MORE

answered Aug 21, 2018 in Other DevOps Questions by Priyaj
• 56,140 points
113 views
+13 votes
2 answers
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.