Would be great if one could switch off built-in notifications. That is convenient when one doesn't need to send comment notification to bitbucket but rather prefer to use 3-rd party plugins for this purpose, e.g to push notifications to slack or use something like https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin.

          [JENKINS-36755] Add the ability to switch off notifications.

          James Dumay added a comment -

          If someone has a scratch to itch here then it sounds like the new Traits work that is being done to this plugin is the way to go here. CloudBees won't be investing in this feature but anyone in the community is free to reopen this ticket and give it a go.

          James Dumay added a comment - If someone has a scratch to itch here then it sounds like the new Traits work that is being done to this plugin is the way to go here. CloudBees won't be investing in this feature but anyone in the community is free to reopen this ticket and give it a go.

          Igor Lobanov added a comment -

          Igor Lobanov added a comment - Hello my dear friends,  https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/74

          Igor Lobanov added a comment -

          oh, I should've read this discussion more careful

          stephenconnolly so the only way is to write a new plugin, right?

          Igor Lobanov added a comment - oh, I should've read this discussion more careful stephenconnolly so the only way is to write a new plugin, right?

          bniwredyc see https://github.com/jenkinsci/scm-api-plugin/blob/master/CONTRIBUTING.md#add-to-core-or-create-extension-plugin for the principles we are trying to follow.

          It is not difficult to write an extension plugin. I encourage you to give it a try, you have all the hard work done in writing the functionality... you just need to move it to an extension plugin

          Stephen Connolly added a comment - bniwredyc see https://github.com/jenkinsci/scm-api-plugin/blob/master/CONTRIBUTING.md#add-to-core-or-create-extension-plugin  for the principles we are trying to follow. It is not difficult to write an extension plugin. I encourage you to give it a try, you have all the hard work done in writing the functionality... you just need to move it to an extension plugin

          Igor Lobanov added a comment -

          stephenconnolly ok, thank you, I'll give it a try.

          Igor Lobanov added a comment - stephenconnolly ok, thank you, I'll give it a try.

          Igor Lobanov added a comment -

          Igor Lobanov added a comment - Hi, guys, in case someone still need it  https://github.com/bniwredyc/disable-bitbucket-multibranch-status-plugin Hosting request: https://issues.jenkins-ci.org/browse/HOSTING-458  

          Arnaud Deprez added a comment -

          Hi,

          I'm definetely interested in it !

          Any idea when it will be availabled ?

          Can I help ?

          Thank you

          Arnaud Deprez added a comment - Hi, I'm definetely interested in it ! Any idea when it will be availabled ? Can I help ? Thank you

          I have a slightly different use case for this. I would like a way to enable/disable notifications in declarative pipeline syntax for certain stages. Not having this is causing my team a lot of pain where the build and validation stages were successful (only ones we care about notifying Bitbucket about) but a later stage failed before they could merge. We have had to disable the merge check which is not ideal.

          Jonathan Kuleff added a comment - I have a slightly different use case for this. I would like a way to enable/disable notifications in declarative pipeline syntax for certain stages. Not having this is causing my team a lot of pain where the build and validation stages were successful (only ones we care about notifying Bitbucket about) but a later stage failed before they could merge. We have had to disable the merge check which is not ideal.

          Michel Zanini added a comment -

          I have found a plugin that is published and does this:
          https://github.com/jenkinsci/skip-notifications-trait-plugin

          If any one reads this you can find it there, I have not tested it yet, but it seems that will work.

          Michel Zanini added a comment - I have found a plugin that is published and does this: https://github.com/jenkinsci/skip-notifications-trait-plugin If any one reads this you can find it there, I have not tested it yet, but it seems that will work.

          Skip Notifications Trait 1.0.0 works OK here. I installed it to our test instance (with Jenkins ver. 2.121.2 and Bitbucket Branch Source Plugin 2.2.12), added it to two multibranch projects, and ran builds of several branches. These builds did not show up in Bitbucket Server.

          Kalle Niemitalo added a comment - Skip Notifications Trait 1.0.0 works OK here. I installed it to our test instance (with Jenkins ver. 2.121.2 and Bitbucket Branch Source Plugin 2.2.12), added it to two multibranch projects, and ran builds of several branches. These builds did not show up in Bitbucket Server.

            bniwredyc Igor Lobanov
            aindlq Artem Kozlov
            Votes:
            14 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              Resolved: