ita-social-projects / StreetCode

MIT License
19 stars 9 forks source link

Jenkins condition added to Sonar step #1782

Closed mythter closed 1 month ago

mythter commented 1 month ago

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

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud