-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable checkstyle failOnViolation
#483
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -331,12 +331,14 @@ | |
<goals> | ||
<goal>checkstyle</goal> | ||
</goals> | ||
<phase>verify</phase> | ||
<phase>validate</phase> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<linkXRef>false</linkXRef> | ||
<failOnViolation>false</failOnViolation> | ||
<violationSeverity>warning</violationSeverity> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be causing the build to fail locally at jenkinsci/prism-api-plugin@66dcb92 but it doesn't seem to be 😢 |
||
<failOnViolation>true</failOnViolation> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be the default and can be removed once working |
||
<consoleOutput>true</consoleOutput> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this makes the errors go to build log |
||
<configLocation>checkstyle-configuration.xml</configLocation> | ||
<includeTestSourceDirectory>true</includeTestSourceDirectory> | ||
<excludes>**/*Assert*.java,**/InjectedTest.java,**/Messages.java,**/*_jmh*</excludes> | ||
|
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.
not sure whether to keep here or not, but waiting for unit test suite for linting is not great