[JIRA] (JENKINS-41147) bitbucket-build-status-notifier-plugin fails for multiple Git repo

15 views
Skip to first unread message

dlaprade+jenkins@gmail.com (JIRA)

unread,
Jan 17, 2017, 2:17:02 PM1/17/17
to jenkinsc...@googlegroups.com
Daniel LaPrade created an issue
 
Jenkins / Bug JENKINS-41147
bitbucket-build-status-notifier-plugin fails for multiple Git repo
Issue Type: Bug Bug
Assignee: Antonio Mansilla
Components: bitbucket-build-status-notifier-plugin
Created: 2017/Jan/17 7:16 PM
Environment: JDK 8u112, Linux 64bit, Jenkins 2.3.2, BitBucket-build-status-notifier-plugin 1.3.1
Labels: plugin
Priority: Major Major
Reporter: Daniel LaPrade

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)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

zeratul.25@gmail.com (JIRA)

unread,
Oct 17, 2018, 4:04:02 PM10/17/18
to jenkinsc...@googlegroups.com
Sean MacKay commented on Bug JENKINS-41147
 
Re: bitbucket-build-status-notifier-plugin fails for multiple Git repo

I get this error when merging my PR branches together before running the build. I think the notifier does not know which branch to send notifications for since it's a merged commit that isn't in the bitbucket remote.

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

evvelzen@vcn.nl (JIRA)

unread,
Jan 24, 2020, 9:33:05 AM1/24/20
to jenkinsc...@googlegroups.com
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

evvelzen@vcn.nl (JIRA)

unread,
Jan 24, 2020, 9:33:05 AM1/24/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages