391
Customers have installed this app in at least 391 active instances.
    by Christian Galstererfor Bitbucket Server 5.2.0 - 5.13.0 and more versions
    Versions available for Bitbucket Server 3.3.1 - 5.1.9
    UnsupportedData Center
    This app is compatible with the clustering and high-availability capabilities of our products.
    UnsupportedData Center
    This app is compatible with the clustering and high-availability capabilities of our products.
    Get it nowFree app

    Hooks and merge checks to check file attributes, like size, name; commits which contain files which are not compliant are rejected

    Hooks and merge checks to check file attributes, like size, name; commits which contain files which are not compliant are rejected

    Hooks and merge checks to check file attributes, like size, name; commits which contain files which are not compliant are rejected

    File Hooks

    File Size Hook - Configuration

    File Name Hook - Configuration

    Configure the "File Size Hook" and the "File Name Hook "as "Pre receive" hooks in your repository settings.

    Allows to specify a regular expression and size limit. Commits containing files matching the pattern and file size are rejected. Up to 5 pattern and size combinations can be specified.

    Allows to specify a regular expression for the file and folder name. Commits containing files matching the pattern are rejected.

    More details

    Various hooks and merge commit checks to check file attributes, like size, name.

    • File Size Hook: Allows to specify a regular expression and size limit. Commits containing files matching the pattern and file size are rejected. E.g. prevents that video and other large binary files are committed. Up to 5 pattern and size combinations can be specified.
    • File Name Hook: Allows to specify a regular expression for the file and folder name. Commits containing files matching the pattern are rejected.

    Reviews for cloud

    (9)
    Sign in to write a review
    by Sujing Jie on 2017-06-07
    For the file name hook, can it be configured to reject the files matching multiple regular patterns? For example, I want to block the .zip, .exe, .bin .etc files to be pushed to the Bitbucket, how can I acheive this with this plugin?
    Was this review helpful?YesNo
    Christian Galsterer

    You can pipe multiple patterns e.g. *.zip|*.exe

    by Mark de Bont on 2016-11-23
    Nice, but would like to create an exception for admins/build users etc.
    Was this review helpful?YesNo
    by Fabian Weber on 2016-09-07
    We cant use it with our existing codebase because of the following unfixed bug: https://github.com/christiangalsterer/stash-filehooks-plugin/issues/3
    1 out of 1 found this review helpful
    Was this review helpful?YesNo
    by Peter Lai on 2015-09-02
    I didn't use any of the plugin itself, but the code was a really good example of how to use the stash api.
    Was this review helpful?YesNo

    Reviews for server

    (9)
    Sign in to write a review
    by Michael Benz on 2018-03-08
    Works like a charm. Nice hooks that just work and also have pretty configuration options that are easy to understand. We added it mainly to restrict file sizes in our repositories. Since version 3.1.0 it also supports configuration on project level with inheritance to the repositories in the projects. Awesome!
    Was this review helpful?YesNo
    by Krishna on 2018-02-24
    File name hook is not working for me! Can anyone help?
    Was this review helpful?YesNo
    by Sujing Jie on 2017-06-07
    For the file name hook, can it be configured to reject the files matching multiple regular patterns? For example, I want to block the .zip, .exe, .bin .etc files to be pushed to the Bitbucket, how can I acheive this with this plugin?
    Was this review helpful?YesNo
    Christian Galsterer

    You can pipe multiple patterns e.g. *.zip|*.exe

    by Mark de Bont on 2016-11-23
    Nice, but would like to create an exception for admins/build users etc.
    Was this review helpful?YesNo
    by Fabian Weber on 2016-09-07
    We cant use it with our existing codebase because of the following unfixed bug: https://github.com/christiangalsterer/stash-filehooks-plugin/issues/3
    1 out of 1 found this review helpful
    Was this review helpful?YesNo

    Reviews for Data Center

    (9)
    Sign in to write a review
    by Sujing Jie on 2017-06-07
    For the file name hook, can it be configured to reject the files matching multiple regular patterns? For example, I want to block the .zip, .exe, .bin .etc files to be pushed to the Bitbucket, how can I acheive this with this plugin?
    Was this review helpful?YesNo
    Christian Galsterer

    You can pipe multiple patterns e.g. *.zip|*.exe

    by Mark de Bont on 2016-11-23
    Nice, but would like to create an exception for admins/build users etc.
    Was this review helpful?YesNo
    by Fabian Weber on 2016-09-07
    We cant use it with our existing codebase because of the following unfixed bug: https://github.com/christiangalsterer/stash-filehooks-plugin/issues/3
    1 out of 1 found this review helpful
    Was this review helpful?YesNo
    by Peter Lai on 2015-09-02
    I didn't use any of the plugin itself, but the code was a really good example of how to use the stash api.
    Was this review helpful?YesNo

    Cloud Pricing

    Server Pricing

    Data Center Pricing

    Basic support resources are available for this app.

    Vendor support resources

    Documentation

    Find out how this app works.

    See existing Q&A in Atlassian CommunityAsk a question in the Atlassian Community

    Atlassian-hosted discussions connect you to other customers who use this app.

    Versions

    Version 3.3.2 Bitbucket Server 5.2.0 - 5.13.0 Released 2018-04-15

    Summary

    Bugfix Release

    Installation

    1. Log into your Bitbucket instance as an admin.
    2. Click the admin dropdown and choose Add-ons. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate File Hooks Plugin via search. Results include app versions compatible with your Bitbucket instance.
    5. Click Install to download and install your app.
    6. You're all set! Click Close in the Installed and ready to go dialog.

    To find older File Hooks Plugin versions compatible with your instance, you can look through our version history page.

    Similar apps