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.
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.