-
Notifications
You must be signed in to change notification settings - Fork 4.1k
STORM-2495:Integrate checkstyle check during build #2093
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
Conversation
vinodkc
commented
Apr 28, 2017
|
Due to new checkstyle warnings, size of build log file exceeded 4mb limit. Error from build Can we increase the log size limit? |
|
@vinodkc We cannot increase the size of the log without paying money to travisci, or switching the build to the internal Jenkins servers at apache. The later has been proposed but is not likely to happen soon. My advice would be to set the useFile config to move the warnings to a text file that we can output the first X lines of if the build fails. Then add in a maxAllowedViolations for each project with their current number of violations along with a JIRA to fix the warnings in the project and remove the limit. |
c912c5d to
41efd9f
Compare
|
@revans2 , I've redirected the warnings to files and added maxAllowedViolations for each project with their current number of violations. |
|
@vinodkc Looks good we are likely going to need to modify the total number of violations when this is ready to be merged in. I would love to see something that can find the checkstyle-result.xml that caused a failure (or at least has some of the failures in it) and will output some of the violations. But that may be above and beyond. |
41efd9f to
682fa9e
Compare
|
Still +1 |