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

bitbucket-build-status-notifier-plugin fails for multiple Git repo

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I created a new build with multiple Git repositories ( Not Multi-SCM ).
      I set the advanced name setting for each repository.
      I am able to build from first Git repo, and upon success push to second Git repo using 'Git Publisher'. I am getting error from the notifier plugin during the build process. It would be helpful to have an option in the plugin to choose which repository to notify.

      Stack trace output:

      Bitbucket notify on start failed: None or multiple repos
      java.lang.Exception: None or multiple repos
      at org.jenkinsci.plugins.bitbucket.scm.GitScmAdapter.getCommitRepoMap(GitScmAdapter.java:53)
      at org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusHelper.createBuildStatusResources(BitbucketBuildStatusHelper.java:87)
      at org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusHelper.createBuildStatusResources(BitbucketBuildStatusHelper.java:144)
      at org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusHelper.notifyBuildStatus(BitbucketBuildStatusHelper.java:231)
      at org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusHelper.notifyBuildStatus(BitbucketBuildStatusHelper.java:224)
      at org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier.prebuild(BitbucketBuildStatusNotifier.java:109)
      at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:834)
      at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:829)
      at hudson.model.Build$BuildExecution.doRun(Build.java:144)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1728)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:404)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alex_juarez Alex Juarez
              Reporter:
              dlaprade Daniel LaPrade
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: