Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32633

Bitbucket build status notifier supports Multi SCM

      The current implementation allows jobs to have only on git repository. It would be nice to support MultiSCM and notify all git repos.

          [JENKINS-32633] Bitbucket build status notifier supports Multi SCM

          I'd like to see this also, however there should be an option to specify what git repos you want to notify.

          Lior Goikhburg added a comment - I'd like to see this also, however there should be an option to specify what git repos you want to notify.

          I would like to see this too, and would require notification on a single repo. Notifying all repos does not make sense for me.

          Christoph Schwarz added a comment - I would like to see this too, and would require notification on a single repo. Notifying all repos does not make sense for me.

          Code changed in jenkins
          User: Antonio Mansilla
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier.java
          http://jenkins-ci.org/commit/bitbucket-build-status-notifier-plugin/d53ff9163f27cac74695b47cba4fe7da5c0020a4
          Log:
          JENKINS-32633 Add support for multi repositories

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Mansilla Path: pom.xml src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifier.java http://jenkins-ci.org/commit/bitbucket-build-status-notifier-plugin/d53ff9163f27cac74695b47cba4fe7da5c0020a4 Log: JENKINS-32633 Add support for multi repositories

          Steve Jensen added a comment -

          Thanks for the work you are doing! I love this plugin. Though multi scm is not working for me. I have single repo notifications working properly but when I add multiple scm's I don't get ANY notifications.

          Steve Jensen added a comment - Thanks for the work you are doing! I love this plugin. Though multi scm is not working for me. I have single repo notifications working properly but when I add multiple scm's I don't get ANY notifications.

          Could we skip or warn a non supported SCM instead of throwing an exception ? For example, I have a pipeline that checkout an SVN repository and then Git repositories. The notifier fails on the first SCM (in that case SVN) and will never notify the other repositories. I hope this makes sense.

          https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/blob/master/src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusHelper.java#L84

          Allan BURDAJEWICZ added a comment - Could we skip or warn a non supported SCM instead of throwing an exception ? For example, I have a pipeline that checkout an SVN repository and then Git repositories. The notifier fails on the first SCM (in that case SVN) and will never notify the other repositories. I hope this makes sense. https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin/blob/master/src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusHelper.java#L84

          Auke Wiggers added a comment -

          I can confirm what Steve Jensen said: If under source code management 'multiple SCMs' is selected and two (or more) repos are specified, the build status notifier is displayed on neither.

          Auke Wiggers added a comment - I can confirm what Steve Jensen said: If under source code management 'multiple SCMs' is selected and two (or more) repos are specified, the build status notifier is displayed on neither.

          Antonio Mansilla added a comment - - edited

          Hi all guys, are you still having problems with multi-repositories or it was already solved on any of late plugin releases?

          Since MultiSCM support was already added to this plugin I'll close the issue since the aim was to support that functionality and not to fix some bug. So in case this is not working for anyone, please create a separated issue for this.

          Antonio Mansilla added a comment - - edited Hi all guys, are you still having problems with multi-repositories or it was already solved on any of late plugin releases? Since MultiSCM support was already added to this plugin I'll close the issue since the aim was to support that functionality and not to fix some bug. So in case this is not working for anyone, please create a separated issue for this.

            flagbit Antonio Mansilla
            marek_fort Marek Fort
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: