How to "translate" PullRequest ID into list of files?

Eyal Goren March 17, 2021

Hi,

 

We have Bitbucket Server, and I need to support a Job in Jenkins that when someone create Pull Request (Or merge it)- a Job will run that will check the files that were added/modified/deleted in the Pull request.

The question is- how can we do it today (If it is feasible) ? 

Using the Bitbucket source branch plugin for example- I can get the PR ID and the target branch, but not the original branch (So I can not perform git diff for example)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events