Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events