Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

restrict files with filenames in bitbucket using scriprunner

AfrozBasha Arab September 9, 2019

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

1 comment

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2019

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

Atlassian Community Events