reconquest / atlassian-external-hooks

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

How to tell to plugin to reject commit ? #27

Closed bdbogjoe closed 8 years ago

bdbogjoe commented 8 years ago

i'm using one bash to check if commit is valid based on personal rules, once done, how to reject the commit ?

seletskiy commented 8 years ago

@bdbogjoe: just return non-zero exit status from your script.

bdbogjoe commented 8 years ago

thanks, works fine