Inspiration
Client side hooks are fine, but you can ignore them. So i created the 'last line of defense' to push clean code.
What it does
Upload the checkstyle configuration you are using, and enable the hook. The hook checks all JAVA files for checkstyle errors, shows the errors and prevent the push. It also provides your uploaded checkstyle configuration per REST call to use it e.g. for client side hooks, or in you IDE.
How I built it
Atlassian SDK, Java and a little bit of JavaScript
Challenges I ran into
To get checkstyle running in an OSGI environment
What's next for Checkstyles for Bitbucket Server
- Check more files (groovy, gradle, ...)
- Add exceptions
- add localizations
Log in or sign up for Devpost to join the conversation.