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

Bitbucket build status notifier supports Multi SCM

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

        Attachments

          Activity

          Hide
          zerthimon 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.

          Show
          zerthimon 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.
          Hide
          cschwarz 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.

          Show
          cschwarz 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.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          stevejensen22 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.

          Show
          stevejensen22 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.
          Hide
          allan_burdajewicz 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

          Show
          allan_burdajewicz 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
          Hide
          aukejw 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.

          Show
          aukejw 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.
          Hide
          flagbit 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.

          Show
          flagbit 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.

            People

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

              Dates

              Created:
              Updated:
              Resolved: