PR 7.8 Failed to create Bitbucket Server Quality Report for commit SHA

I noticed this thread: Commit Id for Jenkins Change Request Builds

Actually that is the problem. Now passing in -Dsonar.scm.revision=${env.GIT_COMMIT}. However GIT_COMMIT is the unexsting merge commit sha. We need that start commit.