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

Fail build on CheckStyle or PMD violations #1004

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

uhafner
Copy link
Owner

@uhafner uhafner commented Apr 27, 2024

To see all CheckStyle and PMD violations in a maven build you need to run maven with option
-Dcheckstyle.failOnViolation=false and -Dpmd.failOnViolation=false.

To see all CheckStyle and PMD violations in a maven build you need to
run maven with option `-Dcheckstyle.failOnViolation=false`
 and `-Dpmd.failOnViolation=false`.
@uhafner uhafner added the enhancement Enhancement of existing functionality label Apr 27, 2024
Copy link

codecov bot commented Apr 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.98%. Comparing base (23c497d) to head (ef6baa3).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1004   +/-   ##
=========================================
  Coverage     88.98%   88.98%           
  Complexity      181      181           
=========================================
  Files            11       11           
  Lines           717      717           
  Branches         93       93           
=========================================
  Hits            638      638           
  Misses           62       62           
  Partials         17       17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

☀️   Quality Monitor

   🚦   Tests: 98 % successful (✔️ 95 passed, 🙈 2 skipped)
   〰️   Line Coverage: 91% (62 missed lines)
   ➰   Branch Coverage: 92% (19 missed branches)
   PIT   Mutation Coverage: 80% (75 survived mutations)
   CheckStyle   CheckStyle: No warnings found
   PMD   PMD: No warnings found
   SpotBugs   SpotBugs: No warnings found

Created by Quality Monitor v1.8.2 (#d626b05). More details are shown in the GitHub Checks Result.

@uhafner uhafner merged commit af58a9b into main Apr 29, 2024
27 of 31 checks passed
@uhafner uhafner deleted the fail-build-on-violations branch April 29, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant