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
Highlighted

restrict files with filenames in bitbucket using scriprunner

I want to restrict some files from being committed in bitbucket using the scriptrunner

1 comment

Have a look at https://scriptrunner.adaptavist.com/latest/bitbucket/quickstart.html#_encourage_good_development - there is mention of "conditionally block huge files" which is close, but if you look at the screenshot below the code, you'll see there are example scripts for blocking c++, css and js files, as well as basing it on directory - those examples are REALLY easy to modify for any file name.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,512 views 0 6
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