Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

218 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you