Kontinuierliche Integration (CI)
R2026bAusführen von Bug Finder Server zur automatisierten Code-Überprüfung auf CI-Servern
Sie können Ihren Code mit Polyspace® Bug Finder™ Server™ im Rahmen der Überprüfung nach Einreichung prüfen. Richten Sie Skripte ein, die in regelmäßigen Abständen oder bei neuen Einreichungen eine Bug Finder-Analyse durchführen. Die Skripte können die Analyseergebnisse zur Überprüfung auf den Polyspace Access™-Webserver hochladen und E-Mails mit den Polyspace-Ergebnissen an die Besitzer der Quelldateien senden.

Systembefehle
polyspace-bug-finder-server | (System Command) Run a Bug Finder analysis on a server from Windows, Linux, or other command line |
polyspace-cluster-profile-manager | (System Command) Import MATLAB cluster profile to Polyspace Server commands |
polyspace-comments-import | (System Command) Import review information from previous Polyspace analysis |
polyspace-configure | (System Command) Create Polyspace Platform project, workspace, or options file from build command or compilation database |
polyspace-project -generate-launching-script-for | (System Command) Generate files needed to run static analysis on a Polyspace Platform project |
polyspace-report-generator | (System Command) Generate reports from Polyspace analysis results stored locally or on Polyspace Access |
polyspace-results-export | (System Command) Export Polyspace results to external formats such as CSV or JSON |
MATLAB API
Themen
Ausführen der Analyse für Quelldateien
- Ausführen von Polyspace Bug Finder auf Servern und Hochladen der Ergebnisse für eine webbasierte Überprüfung
Überprüfen Sie den Code nach der Übermittlung auf Fehler und Verstöße gegen Codierungsstandards und laden Sie die Ergebnisse zur Überprüfung in die Webschnittstelle hoch. - Versenden von E-Mail-Benachrichtigungen mit Polyspace Bug Finder Server-Ergebnissen
Senden Sie E-Mails an Entwickler mit Anhängen, die Links zu Polyspace-Ergebnissen enthalten.
Ausführen der Analyse für Polyspace-Plattform-Projekte
- Generate Launching Script for Polyspace Platform Project to Run Static Analysis from Command Line
Run static analysis on a Polyspace Platform project from the command line.
Ausführen der Analyse mit MATLAB oder MATLAB Parallel Server
- Integrate Polyspace Server Products with MATLAB
Run a post-installation step to link your Polyspace and MATLAB® (Simulink®) installations. - Offload Polyspace Analysis from Continuous Integration Server to Another Server
Send analysis to dedicated server, download results after analysis and then upload to Polyspace Access for review.
Hochladen der Ergebnisse in Polyspace Access
- Project Administration (Polyspace Access)
Organize projects, manage permissions, and track code quality trends across analysis runs - Review Bug Finder Results (Polyspace Access)
Interpret Polyspace Bug Finder defects and coding rule violations, trace results to root cause, and add review information
Konfigurieren der Analyse auf dem Server
- Create Polyspace Platform Projects from Builds That Use Makefiles
Reuse build information in makefiles for Polyspace analysis and testing.
- Create New Checkers Activation File Without Polyspace User Interface
When Polyspace user interface is unavailable, configure checkers by creating a checkers activation file in a text editor.
Integrieren mit CI-Tools
- Sample Scripts for Polyspace Analysis with Jenkins
Get a head start on scripting Polyspace runs with sample scripts for the Jenkins® plugin. - Sample Jenkins Pipeline Scripts for Polyspace Analysis
Schedule Polyspace analysis as part of a Jenkins Pipeline.