[英]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.