-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
This build fails because PMD throws errors, should I fix the errors in this PR itself ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes you need to fix the errors in the same PR. You may also need a pmd xml configuration file for the pmd rules.
@martinda These were thrown by findbugs so I fixed them else it was failing? Should I revert the commit and just let the pmd.xml remain ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See review comments.
To make things easy and clear, please present two pull-requests. One for PMD, one for findbugs. Please do not lose my comments on PMD. So yes it is probably best to move findbugs to another PR and do just PMD in this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the findbugs causes the build to fail, then you would need to fix them here. Otherwise, just keep this fixing the PMD and we'll be able to merge in the other pieces.
src/main/java/com/org/jenkins/custom/jenkins/distribution/service/generators/WarGenerator.java
Outdated
Show resolved
Hide resolved
@kwhetstone @martinda Yeah the findbugs is causing the build to fail hence I fixed them here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address these changes, they enhance the clarity.
...n/java/com/org/jenkins/custom/jenkins/distribution/service/services/UpdateCenterService.java
Outdated
Show resolved
Hide resolved
You have 58 PMD violations. For more details see: C:\Jenkins\workspace\stom-distribution-service_PR-102\target\pmd.xml ? |
@kwhetstone yeah working on fixing as much as I can slowly , cuz some of them are a real pain |
No description provided.