ec4j / editorconfig-maven-plugin

A Maven plugin for checking whether project files comply with format rules defined in .editorconfig files and eventually also for fixing the violations
Apache License 2.0
54 stars 13 forks source link

Sometimes check goal fails during a Jenkins build #61

Closed ldrag closed 3 years ago

ldrag commented 3 years ago

Hi, our CI pipeline run o Jenkins occasionally fails with: Failed to execute goal org.ec4j.maven:editorconfig-maven-plugin:0.1.0:check (check) on project parent: /srv/jenkins/<some-path>/jenkins-log.txt

I believe that the fileset being verified, as well as plugin configuration is correct as the above error happens only sporadically. A re-run of the build job always succeeds. Is there any way to make editorconfig plugin more verbose to help identify the problem? Currently nothing apart from that message appears in the build log. I am also not able to access the jenkins-log.txt file mentioned in the message as is is probably just deleted after the Jenkins job finishes.

I am using editorconfig plugin in version 0.1.0

Thanks.

ldrag commented 3 years ago

It turns out that the problem was caused by running Maven build stage in parallel with some other build steps.