Missed Team ’24? Catch up on announcements here.

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

How to parametrized Pre-repository hook settings in a Bitbucket plugin

amrityam rout October 13, 2020

Hi Folks!!,

I am trying to develop a bitbucket v6.10.0 plugin using pre-repository hook.

I have implemented code scanning on the committed files from push and based upon the result I am accepting or rejecting the push.

But due to some false positive results, I have decided instead of rejecting, only accept the push with some warning messages.

Is there any way if I need to toggle accept or reject anywhere from the bitbucket UI and read that toggle parameter value inside pre-repository hook?

It will help me to control accept or reject the push from Bitbucket user interface implemented through a plugin .

 

Any help would be much appreciated.

 

Regards,

Amrityam Rout

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events