一尘不染

通知从Jenkins到Bitbucket Server的构建状态

jenkins

我们已经在内部安装了Jenkins v2.7.3和Bitbucket Server
v4.9.1,并希望将构建状态作为通知从Jenkins发送到Bitbucket Server。

到目前为止,我只找到了针对Bitbucket Cloud的解决方案(1和2),但没有找到针对Bitbucket
Server的解决方案。关于如何实现这一目标的任何提示?

  1. https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Cloud+Build+Status+Notifier+Plugin
  2. https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+OAuth+Plugin

阅读 415

收藏
2020-07-25

共1个答案

一尘不染

由于BitBucket基于Stash代码,您可能会从Stash
插件中获得一些使用。

Atlassian不得不说:

We have unified our Git products under the Bitbucket name. With
Bitbucket, now you have a range of options that can be adopted by teams
of all sizes and requirements: Bitbucket Cloud (previously known as
Bitbucket), Bitbucket Server (previously known as Stash) and Bitbucket
Data Center (previously known as Stash Data Center).

关于插件:

This plugin notifies an Atlassian Stash instance of Jenkins builds in
progress and of their results. The build results will show up in the
commit list in Stash or in a Stash pull request and provide immediate
and easy to scan feedback about a commit. It is possible to navigate 
from build result information in Stash directly to the build in 
question. The plugin can be configured on a per-job basis, globally 
for all Jobs or both to minimize the configuration overhead.
2020-07-25