Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Create a pre-hook bitbucket script to scan for forbidden words of phrases in a commit.

Paul Davis July 23, 2018

I would like to write a plugin to do this but I can not see how to interact with the contents of a commit to scan for the words. Is this possible? I also am running scriptrunner on the bitbucket data center server and would be willing to attempt it there if possible. 

 

I do not want to do this:

https://marketplace.atlassian.com/apps/1211631/external-hooks?hosting=server&tab=overview

 

I have been looking here:

https://developer.atlassian.com/server/bitbucket/how-tos/hooks-merge-checks-guide/

Should I be looking in another area?

Thanks!

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events