Investigate and resolve the issue where SonarCloud in the Jenkins pipeline is not correctly posting the code quality report on pull requests.
Summary of change
Added additional configuration to Sonar scan step in Jenkins pipeline to analyze only the pull request and send summary of analyzis to GitHub. If pipeline triggerred after merge the full scan starts.
CHECK LIST
[ ] СI passed
[ ] Сode coverage >=95%
[ ] PR is reviewed manually again (to make sure you have 100% ready code)
[ ] All reviewers agreed to merge the PR
[ ] I've checked new feature as logged in and logged out user if needed
Summary of issue
Investigate and resolve the issue where SonarCloud in the Jenkins pipeline is not correctly posting the code quality report on pull requests.
Summary of change
Added additional configuration to Sonar scan step in Jenkins pipeline to analyze only the pull request and send summary of analyzis to GitHub. If pipeline triggerred after merge the full scan starts.
CHECK LIST