jenkinsci/bitbucket-branch-source-plugin

Get PR status on build

vishalknitian opened this issue · 1 comments

What feature do you want to see added?

In multibranch pipeline, when the build gets triggered by a PR event. Keep an environment variable to get the status of the PR.

Open
Approved
Unapproved
Merged
Declined

Upstream changes

No response

Would that be specifically the triggering event? So that if you run a build manually in Jenkins then the PR status would not come this way.