Hello
I have the following query.
I have Bitbucket Datacenter in my company, but when we push a branch, we want them to be detected if there are files that weigh more than 50MB, they have a different treatment, that is,
save these large files on a file server and save in bitbucket only reference to these. That they recommend me to use, they will have some document.
Thank you.
Hi @Samuel_Navarro ,
Using ScriptRunner for Bitbucket you can use the Restrict File Size Pre-Hook, as documented here: https://scriptrunner.adaptavist.com/latest/bitbucket/PreReceiveHooks.html#_restrict_file_size
Please let me know if you are interested in learning more about ScriptRunner for Bitbucket? As it can really help in configuring your Bitbucket instance. Restrict File Size being just one example of its usage.
Kind regards,
Robert Giddings,
ScriptRunner for Bitbucket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.