gnustavo / Git-Hooks

Framework for implementing Git (and Gerrit) hooks
http://search.cpan.org/dist/Git-Hooks/
41 stars 17 forks source link

Option to ignore the check jira hook when jira is down #46

Open wleona3 opened 6 years ago

wleona3 commented 6 years ago

Would be great to have an option to ignore the jira git hook when requests to the API throw timeouts or non-authentication 500 errors. Any thoughts?

gnustavo commented 6 years ago

Good idea. I've been bitten by this more than once too.

I won't be able to work on this in the near future, though. But I'm keeping it on my todo list. ;-)

boudekerk commented 1 year ago

If #77 gets merged, this could easily be implemented by OR-ing CheckJira with a simple plugin that only succeeds if Jira is down, unresponsive, etc.