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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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