Hi,
I’m trying to create a plugin that will block a push being made to the BitBucket server if certain files are part of the commit being pushed. In the past I’ve created plugins that reject pushes if a certain criteria is not being met however I’m having trouble finding the correct method/package that allows the plugin to see which files are being pushed. Is there a method/package available for this? Is it even feasible?
I’ve tried using the PreRepositoryHookCommitCallback to see if it will return any info on the files but no luck so far.
Any information or help would be great!