The Branch Options feature in Webhook to Jenkins allows you to select or ignore specific conditions for triggering a build, including disabling all automated triggers and only allowing manual build triggers.

This guide assumes Webhook to Jenkins has already been installed and configured as described in Jenkins configuration.

Configure Bitbucket Server

  1. From your Bitbucket repository, click the Repository Settings icon > Hooks and select Enabled or click Edit settings for Webhook to Jenkins for Bitbucket Server.

  2. Click the Advanced Configuration tab and select the Ignore From option from the Branch Options dropdown. Set the value to ** to skip the allowlist and blocklist checks so that all new commits and tags send the required Jenkins notification.

  3. Click Enable when finished.