简体   繁体   English

当没有拉取请求创建和合并时,如何将构建状态通知到 bitbucket UI?

[英]How to notify the build status to bitbucket UI when there is no pull request create and merge?

Am new to Jenkins.我是詹金斯的新手。 I found a plugin to notify the each commit status in bit bucket UI(Bit bucket Cloud Build Status Notifier Plugin) and am very much confused about notifying the build status.我找到了一个插件来通知位桶 UI(位桶云构建状态通知程序插件)中的每个提交状态,并且对通知构建状态非常困惑。

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

Am doing commit continuously in development branch and i have registered the oauth credentials as described in above link with Jenkins job.我在开发分支中不断进行提交,并且我已经按照上面与 Jenkins 工作的链接中所述注册了 oauth 凭据。 After the Jenkins job run, i could not see the build status in bit bucket cloud UI. Jenkins 作业运行后,我无法在位桶云 UI 中看到构建状态。

Could anyone please suggest me whether this plugin update the commit status from pull request page to development branch while merge?谁能建议我这个插件是否在合并时将提交状态从拉取请求页面更新到开发分支? Or This plugin can pass the direct build status to development branch when commit done and Jenkins job ran.或者这个插件可以在提交完成并且 Jenkins 作业运行时将直接构建状态传递给开发分支。

Thanks in advance!!!提前致谢!!!

If the plugin is configured properly you should be able to see the build status posted by the plugin in commit history of your development branch within Bitbucket Cloud.如果插件配置正确,您应该能够在 Bitbucket Cloud 中的开发分支的提交历史记录中看到插件发布的构建状态。 The build status is set for a given commit sha1, that means that it doesn't care if it's a pull request or not since the commit sha1 doesn't change.构建状态是为给定的提交 sha1 设置的,这意味着它不关心它是否是拉取请求,因为提交 sha1 没有改变。

If the build status is not shown in Bibucket Clould UI, I guess your problem is related to the plugin or Jenkins configuration.如果 Bibucket Cloud UI 中未显示构建状态,我猜您的问题与插件或 Jenkins 配置有关。 Take a look to the Jenkins log file for more information in order to be able to guide you to solve the problem.查看 Jenkins 日志文件以获取更多信息,以便能够指导您解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果 jenkins 构建失败,我如何阻止用户合并 Bitbucket 上的拉取请求 - How can i block the user to merge pull-request on Bitbucket if the jenkins build gets failed 将构建状态从 Jenkins 通知到 Bitbucket Server - Notify build status from Jenkins to Bitbucket Server 如何在合并的 bitbucket 拉取请求上触发詹金斯构建 - How to trigger jenkins build upon bitbucket pull request merged 如何使用 api 1.0 在 Bitbucket 中创建拉取请求 - How to create a pull request in a Bitbucket using api 1.0 使用 Jenkins 且管道先前已取消/删除时,如何更新 gitlab 合并请求构建状态(管道状态)? - How to update gitlab Merge Request build status (pipeline status) when using Jenkins and the pipeline was previously canceled/deleted? 使用 Jenkins 作业在 bitbucket 中创建拉取请求 - Create a Pull request in bitbucket using Jenkins job 如何从 Github 拉取请求中删除 Jenkins 构建状态 - How to remove Jenkins build status from Github Pull Request 如何使用Jenkinsfile合并请求请求的成功构建 - How to merge a successful build of a pull request using a Jenkinsfile Jenkins-如何将变量传递给Bitbucket状态通知插件? - Jenkins - How to pass variables to Bitbucket status notify plugin? Jenkins 构建:通知 Bitbucket 云 - Jenkins build: notify Bitbucket cloud
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM