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.

          Artem Kozlov created issue -
          Even André Fiskvik made changes -
          Link New: This issue is related to JENKINS-33507 [ JENKINS-33507 ]

          The email notifications the comments triggered is a huge pain for our team, especially when build succeeds. Being able to turn off the comment notifications would be nice as you can rather choose to send the notifications in other ways (e.g. slack, update build status of bitbucket commit and so on)

          Even André Fiskvik added a comment - The email notifications the comments triggered is a huge pain for our team, especially when build succeeds. Being able to turn off the comment notifications would be nice as you can rather choose to send the notifications in other ways (e.g. slack, update build status of bitbucket commit and so on)

          Mikhail Paulyshka added a comment - It looks like this commit fixes the problem in a different way https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/99306beae49a5a9e58aa57f2bf464b3712432fdb

          It looks like this commit fixes the problem in a different way

          It does not disable notifications, it just send a new commit status while building.
          Actually, notifications by commit comments are not used anymore, everything goes through the build status API.

          Antonio Muñiz added a comment - It looks like this commit fixes the problem in a different way It does not disable notifications, it just send a new commit status while building. Actually, notifications by commit comments are not used anymore, everything goes through the build status API.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173488 ] New: JNJira + In-Review [ 185149 ]

          amuniz Would it be possible to make a release with the current code in github? I just compiled a version with it manually, so I'm good, but the latest changes there solves several issues I were having with the latest released version so it might be good to get it out and then you can also close out several of the issues open here in Jira

          Even André Fiskvik added a comment - amuniz Would it be possible to make a release with the current code in github? I just compiled a version with it manually, so I'm good, but the latest changes there solves several issues I were having with the latest released version so it might be good to get it out and then you can also close out several of the issues open here in Jira
          Simon GUEROUT made changes -
          Link New: This issue is duplicated by JENKINS-37228 [ JENKINS-37228 ]

          James Dumay added a comment -

          stephenconnolly is this covered by changes in JENKINS-43507?

          James Dumay added a comment - stephenconnolly is this covered by changes in JENKINS-43507 ?

          So JENKINS-43507 includes the ability for a Trait / Behaviour to turn off Bitbucket notifications: https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/6fbe48a33eb1c3bdec0b6df32362a96d26d5c662/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceContext.java#L295

          I do not see turning off notifications as a core trait to be provided in the Bitbucket plugin, rather it should be left as an exercise for an extension plugin. The changes in JENKINS-43507 enable extension plugins to add the behaviour and that way users that want to disable notifications can add the UI element by adding a (to be written) extension plugin that provides the notification mechanism they require

          Stephen Connolly added a comment - So JENKINS-43507 includes the ability for a Trait / Behaviour to turn off Bitbucket notifications: https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/6fbe48a33eb1c3bdec0b6df32362a96d26d5c662/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketSCMSourceContext.java#L295 I do not see turning off notifications as a core trait to be provided in the Bitbucket plugin, rather it should be left as an exercise for an extension plugin. The changes in JENKINS-43507 enable extension plugins to add the behaviour and that way users that want to disable notifications can add the UI element by adding a (to be written) extension plugin that provides the notification mechanism they require

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

              Created:
              Updated:
              Resolved: