Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Enable checkstyle failOnViolation #483

wants to merge 2 commits into from

Conversation

timja
Copy link
Member

@timja timja commented Jun 5, 2022

@timja
Copy link
Member Author

timja commented Jun 5, 2022

Something isn't right, I still can't get it to fail locally at commit jenkinsci/prism-api-plugin@66dcb92

@@ -331,12 +331,14 @@
<goals>
<goal>checkstyle</goal>
</goals>
<phase>verify</phase>
<phase>validate</phase>
Copy link
Member Author

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

<failOnViolation>false</failOnViolation>
<violationSeverity>warning</violationSeverity>
<failOnViolation>true</failOnViolation>
<consoleOutput>true</consoleOutput>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes the errors go to build log

</execution>
</executions>
<configuration>
<linkXRef>false</linkXRef>
<failOnViolation>false</failOnViolation>
<violationSeverity>warning</violationSeverity>
<failOnViolation>true</failOnViolation>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be the default and can be removed once working

</execution>
</executions>
<configuration>
<linkXRef>false</linkXRef>
<failOnViolation>false</failOnViolation>
<violationSeverity>warning</violationSeverity>
Copy link
Member Author

@timja timja Jun 5, 2022

Choose a reason for hiding this comment

The 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 😢

@uhafner
Copy link
Member

uhafner commented Apr 27, 2024

Replaced by #907

@uhafner uhafner closed this Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants