Commit Id for Jenkins Change Request Builds

did you managed to solve this?

I have the same problem and even after getting it done to ‘show’ sonarqube the correct commit id, no pull request decoration happended (see Decorate PR analysis to Bitbucket Server failed)