Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for some way to render my jenkins job url in the pull request view

David Karr
Contributor
August 27, 2018

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?

1 answer

0 votes
Kristy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 30, 2018

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

David Karr
Contributor
August 30, 2018

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events