bitbucket-build-status-notifier plugin for jenkins

2019-05-22 12:42发布

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

enter image description here

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:

enter image description here

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

Thanks!

2条回答
做个烂人
2楼-- · 2019-05-22 12:59

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.

查看更多
Rolldiameter
3楼-- · 2019-05-22 13:03

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. enter image description here

查看更多
登录 后发表回答