reconquest / atlassian-external-hooks

External Hooks plugin for Atlassian Bitbucket
https://external-hooks.reconquest.io
Other
44 stars 37 forks source link

Pre-receive hook - Checkstyle #82

Open dovogt opened 5 years ago

dovogt commented 5 years ago

I'm trying to run a checkstyle check of the changed files using external hook. How could I do that?

Thats my script: pre-receive_cs.txt

seletskiy commented 4 years ago

@dovogt Is it still relevant?

dovogt commented 4 years ago

Hello,

I still haven't found a real way how to check the sources for compliance with the rules before checking in the sources on the Bitbucket.

seletskiy commented 4 years ago

@dovogt So, when you try script you mention in the first message it doesn't work?