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
• 7,340 points
5,149 views

1 answer to this question.

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,890 points

Related Questions In Jenkins

0 votes
1 answer

sonar XML plugin installation failure in jenkins

You can try the SonarQube XML plugin. ...READ MORE

answered Jun 21, 2018 in Jenkins by Atul
• 10,240 points
968 views
0 votes
0 answers
+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,220 points
28,305 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
• 7,060 points
4,741 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 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,890 points
2,280 views
0 votes
2 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP