Getting Error when push code changes to GitHub

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting Error when push code changes to GitHub

Yashwant Dhakad-2
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
grv
Reply | Threaded
Open this post in threaded view
|

Re: Getting Error when push code changes to GitHub

grv
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 <
[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Getting Error when push code changes to GitHub

Yashwant Dhakad-2
Thanks, Girish, Now I am able to push code changes.

Kind Regards,
Yashwant Dhakad
Sr. Technical Consultant

*HotWax Systems*
*Enterprise open source experts*
cell: +91-9098240513
office: 0731-409-3684
http://www.hotwaxsystems.com


On Sat, Dec 26, 2020 at 4:30 PM Girish Vasmatkar <
[hidden email]> wrote:

> 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 <
> [hidden email]> 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
>>
>