title: How can I get Jenkins builds to report failures back to Bitbucket server?
body: <p>My work is running Jenkins and Bitbucket Server (so instead of the bitbucket cloud, they host their own bitbucket version).  I am used to having passing/failing builds on github and bitbucket cloud immediately reporting back on PRs and branches as to whether the build passed or failed.  I want to give that gift to my team in the current environment.  How do I get PRs in Bitbucket server to receive success/failure of builds from Jenkins?</p>
  
  <hr>
  
  <p>[Figure 1 just shows an example of the functionality I want, operational on PRs in github+codeship]</p>
  
  <hr>
  
  <p><a href="https://i.stack.imgur.com/2W6mj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2W6mj.png" alt="PR with build success and failures on github and codeship"></a></p>