-
Bug
-
Resolution: Fixed
-
Minor
-
jenkins 2.440.2
Maven Integration plugin 3.23
Warnings Plugin 11.2.2
-
-
3.24
We are running (since years) our jenkins installation with an master on Windows server and build agent nodes on Linux. As already reported as JENKINS-55390 the output of the console log can not be parsed by the warnings plugin due to be prefixed by 'garbage extra logging' like
[pool-1-thread-2 for channel id=140013] WARNING org.apache.maven.plugin.compiler.CompilerMojo - /opt/buildsystem/younameit/workspace/projectname/artifact/src/main/java/ag/itc/TestClass.java:[56,36] [MissingOverride] getThings implements method in AnInterface; expected @Override (see ...
I found the comment/patch from sgabriel on JENKINS-19396 to be correct:
"This issue still occur when running master on windows and slaves on linux" and "this can be easily corrected"
I applied the provided patch (from pull request https://github.com/jenkinsci/maven-plugin/pull/191) to the source of Maven Integration 3.23 and patched our installation.
Now the cosole log looks pretty ...
[WARNING] /opt/buildsystem/bob/workspace/projectname/artifact/src/main/java/ag/itcTestClass.java:[56,36] [MissingOverride] getThings implements method in AnInterface; expected @Override (see ...
... and the Error-Prone parser works as expected
It would be nice if the patch/pull request from JENKINS-19396 could be finally integrated in the next release of the Maven Integration.
- is caused by
-
JENKINS-19396 Extra logging added to Maven builds makes the build log hard to read - org.apache.maven.cli.event.ExecutionEventLogger
-
- Closed
-
- is related to
-
JENKINS-55390 No issues found when parsing Error-Prone output from console log during maven build
-
- Resolved
-
- links to
[JENKINS-72976] Extra logging added to console log on Maven builds and prevent Error-Prone parsing
Link |
New:
This issue is caused by |
Link |
New:
This issue is related to |
Remote Link | New: This issue links to "PR-323 that includes fix and several other changes (Web Link)" [ 29616 ] |
Component/s | Original: warnings-ng-plugin [ 24526 ] |
Assignee | Original: Ulli Hafner [ drulli ] | |
Labels | New: help-wanted |
Released As | New: 3.24 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
I've created a pull request that includes the changes from pull request 191 and several others and have confirmed that the problem reported in
JENKINS-19396is fixed by that change.The pull request will generate an incremental build of the plugin on ci.jenkins.io that you can install on your controller to confirm the fix works. Please report y our results from testing that pre-release build so that the plugin maintainers can see your results in addition to my results. They are much more likely to be persuaded to merge the pull requests when multiple users tell them that their issue is resolved by the change.