I’m working on a project which use bitbucket server SDK to develop a plugin which will check whether a specific file is modified in a pull request. If it’s modified, we need to take some additional actions.
I’m currently trying to implement a class which implements
RepositoryMergeCheck interface. In the
preUpdate method, I can get a
PreRepositoryHookContext object as well as a
PullRequestMergeHookRequest. But how can I get the list of strings which contains the filename of modified files in this commit?