We integrate BitBucket v5.10.1 with Jenkins, not to mention SonarQube and other tools.
When a pull request is created, we use the Pull Request Notification plugin to cause a Jenkins build to start on the pull request branch. When our build starts in Jenkins, I send a message in our internal messaging system reporting the start of the build, along with the link to the pull request and the Jenkins console output. I use the "Stash Notify" plugin in Jenkins to notify Stash/BitBucket that the build has completed, so the pull request view can update with build completion information.
What's awkward is that there's no obvious connection in the pull request view to the Jenkins job. I'd like to figure out some way to dynamically render a link in the pull request view that goes to the Jenkins console output.
Any idea on how I can get close to this?
Hi @David Karr,
Does the Stash Notify plugin not place a build status on the pull request, similar to this:
"1 build failed"
Clicking on this link should open up a dialog:
And this dialog contains the links to builds that were recorded.
Let me know if I'm misunderstanding your situation,
Kristy
Yes, sorry about that. I had noticed this soon after I wrote this and forgot to come back here to reply about what I saw.
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.