Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude files without violations from the report #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

2rba
Copy link

@2rba 2rba commented Nov 14, 2018

Jenkins plugin "Violation Comments to Bitbucket Server" for some reason handles empty xml file tag in a wrong way

To fix this issue this PR excludes files without violations from the report

@eitoball
Copy link
Owner

@2rba Thank you for your PR. I think that some other plugins expect even empty file. So, could you change so that it would not generate empty file if environment variable like RUBOCOP_CHECKSTYLE_FORMATTER_OUTPUT_EMPTY_RESULT is "false" or such? And please add spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants