title: Block merge on BitBucket until Jenkins task is completed
body: <p>I'm looking for some way to block a possibility of making merge of pull requests on the BitBucket if some specified Jenkins task is currently running. Do you know if it is possible? I was looking for that in the Jenkins Git plugin and in the settings of BitBucket but with no success...
  Thank you in advance for any help!</p>