Closed jchannon closed 8 years ago
@jchannon: Yes. See https://github.com/ngsru/atlassian-external-hooks/wiki/Example.-Test-script for example.
That's great. What I'm trying to do is inspect the branch name and if it's not in a format then prevent the push. Is that possible?
On Wednesday, 21 October 2015, Stanislav Seletskiy notifications@github.com wrote:
@jchannon https://github.com/jchannon: Yes. See https://github.com/ngsru/atlassian-external-hooks/wiki/Example.-Test-script for example.
— Reply to this email directly or view it on GitHub https://github.com/ngsru/atlassian-external-hooks/issues/26#issuecomment-149790359 .
@jchannon: Yes, of course. Just return non-zero exit code from the hook.
Brilliant, thanks!
Does this plugin pass in the branch name into the executable