atlassian-external-hooks icon indicating copy to clipboard operation
atlassian-external-hooks copied to clipboard

Pre-receive hook - Checkstyle

Open dovogt opened this issue 6 years ago • 3 comments

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

dovogt avatar Mar 08 '19 14:03 dovogt

@dovogt Is it still relevant?

seletskiy avatar Nov 08 '19 12:11 seletskiy

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.

dovogt avatar Nov 08 '19 13:11 dovogt

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

seletskiy avatar Nov 08 '19 13:11 seletskiy