I've got Jenkins hooked up and building pull requests and merged code lines with Bitbucket. Something happened and 1 of the 2 "notifications" never get resolved and so my builds never get to a "success" state. What in the heck am I missing?
In this photo, you can see Jenkins did a pull (the red boxed line) and then later on approved the pull (green check). You can see our robot system account "approved" the build (the Wall-e icon) and that is the end of it. The Jenkins pull request will never go green and so the overall build status will never go green either.
Thanks again in advance!
Based on what you are seeing my guess is that your Jenkins job never notified Bitbucket at the end, and that is why it still has the in progress icon. If you go to the build and check the job, did it finish successfully?
Yes it did - for example, this is present in my console log:
Sending build status SUCCESSFUL for commit 8c257250bfde643d054e7c247c685ac74c1ac3be to BitBucket is done!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Might be, or it could be something in the plugin that is causing it. I am on Bitbucket server so we are using a different plugin, but I remember when we started using it that not all finish notifications were sent out from Jenkins, so I ended up writing my own script for it. You may want to log a ticket with the Jenkins plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.