-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Trivial
-
Component/s: bitbucket-branch-source-plugin
-
None
The webhookConfigurationTrait is now marked as deprecated in the Bitbucket Branch Source plugin. My Job DSL code currently uses it to ignore webhook events from specific committers, like this:
Â
bitbucketWebhookConfiguration is deprecated
// Ignore webhook for committers
if (params.committersToIgnore) {
  webhookConfigurationTrait
} else {
  webhookConfigurationTrait {    committersToIgnore(<>)  }
}
What is the recommended way to achieve the same functionality now that webhookConfigurationTrait is deprecated? Is there a new trait or configuration block that allows ignoring webhook events from specific committers?
Thanks