adding exclusions in sonar analysis properties

0 votes
I want to add sonar's analysis properties in jenkins in addition to exclusions available in sonar property file. So I have some exclusions in properties file and I added some in the analysis properties in jenkins, but when it scans it just excludes the ones given in analysis properties and not the property file. I want it to exclude both exclusions.
Jun 8, 2018 in Jenkins by shubham
• 6,480 points
135 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

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:

Properties are not progressive. There's a proper structure and the first value found is the one that's used:

  • command line
  • properties file
  • project-level properties defined in the UI
  • global-level properties

Refer here for more info.

answered Jun 8, 2018 by DareDev
• 6,520 points

Related Questions In Jenkins

0 votes
1 answer

sonar XML plugin installation failure in jenkins

You can try this link which SonarQube XML ...READ MORE

answered Jun 20, 2018 in Jenkins by Atul
• 10,170 points
28 views
+5 votes
5 answers

Jenkins properties file

Follow these steps: 1. Install ‘EnvInject’ plug-in in the Jenkins ...READ MORE

answered Aug 2, 2018 in Jenkins by lina
• 8,100 points
4,688 views
+1 vote
2 answers

What possible return values are there in Jenkins plugin “Sonarqube scanner”

Use Webhooks in SonarQube Administration setup to ...READ MORE

answered Aug 3, 2018 in Jenkins by Nilesh
• 6,900 points
1,050 views
0 votes
1 answer

How can I create global macros and templates in jenkins job builder?

you can append the path to the ...READ MORE

answered Apr 2, 2018 in Jenkins by ajs3033
• 7,000 points
187 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

unable to compile java code in Jenkins

If the code is compiling and running ...READ MORE

answered Apr 25, 2018 in Jenkins by DareDev
• 6,520 points
89 views
0 votes
2 answers

© 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.