bitbucket-build-status-notifier plugin for jenkins reports wrong status

送分小仙女□ 提交于 2019-12-10 10:31:16

问题


Jenkins should notify bitbucket if a job that is linked to a branch has passed or falied, and it does:

But for some reason, in the branch view, it doesn't notify about the result of the last build, and says it failed even if the last build has passed:

How do I make it reffer to the result of the last build only?

Thanks!


回答1:


Today it was released a new version of the plugin for jenkins bitbucket-build-status-notifier which allows exactly what you need to avoid the problem you describe. It's new config option "Only show latest build status", just ensure this checkbox is checked and enjoy it.




回答2:


Hi I'm the maintainer of the bitbucket-build-status-notifier for Jenkins. Actually the plugin creates a new build status for every jenkins build execution for a given commit. That means that if you exec a build for a given commit id and it failed and later exec a new build for the same commir id and success, both status success and failed will remain in bitbucket, that's find and not an issue. Anyways I understand your problem or desires and you are not the only one since there's already a issue for solving it.

At the moment I've not much time for developing this new features but I'll do it as soon as possible.



来源:https://stackoverflow.com/questions/38241311/bitbucket-build-status-notifier-plugin-for-jenkins-reports-wrong-status

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!