-
Notifications
You must be signed in to change notification settings - Fork 31
Enable Static Analysis in matter_sdk usings jenkins manual trigger #654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
34d60ba to
5dd8c42
Compare
5dd8c42 to
75c892a
Compare
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
🔍 SonarQube Static Analysis ResultsResult: ❌ FAILED 📊 Analysis Summary
📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
🔍 SonarQube Static Analysis ResultsResult: ❌ FAILED 📊 Analysis Summary
📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
0e89186 to
7e01dc0
Compare
🔍 SonarQube Static Analysis ResultsResult: ❌ FAILED 📊 Analysis Summary
📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
87e297a to
e11adda
Compare
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
e11adda to
8ff3bf4
Compare
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
7eafe41 to
441f99b
Compare
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
441f99b to
6978bad
Compare
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
6978bad to
972e6b2
Compare
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
972e6b2 to
65f2bf4
Compare
🔍 SonarQube Static Analysis ResultsResult: ✅ PASSED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
65f2bf4 to
eba8bbc
Compare
🔍 SonarQube Static Analysis ResultsResult: ❌ FAILED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
eba8bbc to
64504ac
Compare
🔍 SonarQube Static Analysis ResultsResult: ❌ FAILED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
64504ac to
6635c8d
Compare
🔍 SonarQube Static Analysis ResultsResult: ❌ FAILED 📊 Analysis Summary
� Key Metrics
🏆 Quality Ratings
�📋 Detailed ResultsClick to view SonarQube output🤖 Automated comment by Jenkins CI |
7a061ca to
3b2e902
Compare
This pull request introduces a robust integration between Jenkins, SonarQube, and GitHub to automate static analysis reporting for pull requests. The main changes include a new Jenkins pipeline stage for SonarQube analysis, Groovy functions for orchestrating analysis and posting results, and a Python script that posts detailed SonarQube results and metrics as a formatted comment on the relevant GitHub PR.
Jenkins Pipeline & Orchestration
Jenkinsfilethat runs SonarQube static analysis in a Docker container, extracts results, and posts them to GitHub PRs using a Groovy function and Python script.publishSonarAnalysisandsend_sonar_results_to_githubfunctions injenkinsFunctions.groovyto handle SonarQube scanning, result extraction, credential management, and invocation of the Python posting script.GitHub PR Comment Automation
github/send_sonar_results_to_github.pythat:SonarQube Metrics & Reporting
Security & Reliability Improvements