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 the configuration guide.
Configure Bitbucket Server
From your Bitbucket repository, click the Repository Settings icon > Hooks and select Enabled or click Edit settings for Webhook to Jenkins for Bitbucket Server.
Click the Advanced Configuration tab and select the Ignore From optionfrom 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.
Click Enable when finished.
...