Skip to content

Conversation

@vinodkc
Copy link
Contributor

@vinodkc vinodkc commented Apr 28, 2017

Integrated checkstyle in maven validate phase.Added google java style check

@vinodkc
Copy link
Contributor Author

vinodkc commented Apr 28, 2017

Due to new checkstyle warnings, size of build log file exceeded 4mb limit.

Error from build
"The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over)."

Can we increase the log size limit?

@revans2
Copy link
Contributor

revans2 commented Apr 28, 2017

@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.

@vinodkc vinodkc force-pushed the br_integrateCheckStyle branch from c912c5d to 41efd9f Compare April 30, 2017 15:59
@vinodkc
Copy link
Contributor Author

vinodkc commented Apr 30, 2017

@revans2 , I've redirected the warnings to files and added maxAllowedViolations for each project with their current number of violations.
Shall I add an umbrella JIRA which contains multiple JIRA sub tasks to handle errors and warnings in each project?
Then I shall add JIRA reference in corresponding pom.xml files

@revans2
Copy link
Contributor

revans2 commented May 1, 2017

@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.

@vinodkc vinodkc force-pushed the br_integrateCheckStyle branch from 41efd9f to 682fa9e Compare May 2, 2017 16:53
@revans2
Copy link
Contributor

revans2 commented May 4, 2017

Still +1

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.

3 participants