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
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