Hello Yashwant

pre-commit hook is getting kicked in which runs checkstyleMain gradle task
to check code compliance with the rules defined in checkstyle
configuration. The error count is 327, which is probably more than the
threshold defined in the build.gradle.

tasks.checkstyleMain.maxErrors property governs the max threshold beyond
which build will fail.

Best Regards,
Girish


On Sat, Dec 26, 2020 at 4:03 PM Yashwant Dhakad <
yashwant.dha...@hotwaxsystems.com> wrote:

> Hello All,
> I am getting an error while pushing changes to the GitHub repository for
> the trunk. Do you have any idea what I am doing wrong? I run this command
> "git push origin OFBIZ-10577" and Here is the error message:
>
> > Task :compileJava UP-TO-DATE
> > Task :compileGroovy UP-TO-DATE
> > Task :processResources UP-TO-DATE
> > Task :classes UP-TO-DATE
> > Task :checkstyleMain
> > Task :checkstyleMain FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':checkstyleMain'.
>   Checkstyle files with violations: 126
>   Checkstyle violations by severity: [error:327]
>
>
> Kind Regards,
> Yashwant Dhakad
> Sr. Technical Consultant
>
> *HotWax Systems*
> *Enterprise open source experts*
> cell: +91-9098240513
> office: 0731-409-3684
> http://www.hotwaxsystems.com
>

Reply via email to