Skip to content

Let report log level to be configured per violationConfig #18

@WonderCsabo

Description

@WonderCsabo

Currently the minSeverity can be only set globally. It would be nice to configure it per violationConfig, since some kind of reports can be more important than others. For example i am interested in all Checkstyle violations, but only interested in error Android LINT violations.
We cannot configure the plugin this way currently.

The syntax could be:

violationConfigs: [
  [ pattern: '.*/checkstyle/.*\\.xml$', parser: 'CHECKSTYLE', reporter: 'Checkstyle', minSeverity: 'ERROR'],
  [ pattern: '.*/reports/lint-results.*\\.xml$', parser: 'ANDROIDLINT', reporter: 'AndroidLint', minSeverity: 'WARN']
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions