Hi I am new to bitbucket and trying to write my own bitbucket pre-commit hook. I am using this example as a reference. Here are my configurations. I am getting the following exeception
<atlassian-plugin key="the.test" name="name" plugins-version="3">
<description>Provides a Hook for Bitbucket Server, which allows pushes to be denied</description>
<repository-hook key="disableRefChanges" name="Disable Ref Changes" class="ccom.jpmchase.rft.joyce.hooks.ProtectRefHook">
<description>Disables changes to a specified reference (branch or tag) in this repository</description>
<config-form name="Ref Hook Config" key="refHook-config">
<!-- Validators can be declared separately -->
Looking at the code of the class throwing the exception, I am guessing bundleName or version is null? Where are those values coming from?
I am using Bitbucket version 1.4.4
Thanks in advance,
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs