This is an extension plugin which adds custom feature to the Bitbucket and GitHub Branch Source plugins, allowing to disable build status notifications.
Similar to the Disable GitHub Multibranch Status plugin.
checkout resolveScm(
source: bitbucket(
repoOwner: 'example-owner',
repository: 'example-repository',
traits: [
bitbucketSkipNotifications(),
...,
]
)
)
checkout resolveScm(
source: github(
repoOwner: 'example-owner',
repository: 'example-repository',
traits: [
githubSkipNotifications(),
...,
]
)
)
Edit the configuration of your job under Branch Sources
→ Behaviors
→ Search for Skip build status notifications
:
Don't forget to save the changes.
It was initially submitted as a PR for core plugin PR, but owners suggested to package it as an extension.