简体   繁体   中英

Exclusion in sonar property file also in Analysis properties

How to add exclusions in sonar "Analysis properties" in jenkins even exclusion available in sonar property file.

We have exclusions in property file, and we 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.

we want the exclusion given both in Property file as well as from the "Analysis properties" field.

Please help.

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:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM