title: How to configure new BitBucket webhook for Jenkins
body: <p>Since BitBucket 5.4 it's not necessary anymore to install some plugin to enable webhooks to jenkins (push to bitbucket -> trigger jenkins build).</p>
  
  <p>I'm now trying to configure this on our BitBucket 5.9.1.
  I've clicked create webhook on my repo:</p>
  
  <pre><code>Name: test-webhook
  URL: https://ourjenkins/
  secret: MyToken
  </code></pre>
  
  <p>In my jenkins job I've configured: <code>Trigger builds remotely (e.g., from scripts)</code> and also added the same token: <code>MyToken</code>.</p>
  
  <p>When I test the setup I got a 403:</p>
  
  <pre><code>Authentication required
  &lt;!--
  You are authenticated as: anonymous
  Groups that you are in:
  
  Permission you need to have (but didn't): hudson.model.Hudson.Read
   ... which is implied by: hudson.security.Permission.GenericRead
   ... which is implied by: hudson.model.Hudson.Administer
  --&gt;
  </code></pre>
  
  <p>What am I missing to authenticate? I hoped the token would be used to authenticate but it seems not to work.</p>