Integrazione continua
R2026bEseguire Bug Finder Server per il controllo automatico del codice sui server CI
È possibile controllare il codice con Polyspace® Bug Finder™ Server™ nell'ambito dei controlli successivi all'invio. Impostare gli script che eseguono un'analisi Bug Finder a intervalli regolari o in base ai nuovi invii. Gli script possono caricare i risultati di analisi per la revisione sul server web di Polyspace Access™ e inviare e-mail ai proprietari dei file sorgente con i risultati di Polyspace.

Comandi di sistema
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 |
API MATLAB
Argomenti
Esecuzione dell'analisi sui file sorgente
- Esecuzione di Polyspace Bug Finder sul server e caricamento dei risultati per la revisione basata sul web
Controllare il codice dopo l'invio per individuare eventuali difetti e violazioni degli standard di codifica e caricare i risultati per la revisione nell'interfaccia web. - Invio di notifiche via e-mail con i risultati di Polyspace Bug Finder Server
Inviare e-mail agli sviluppatori con allegati contenenti collegamenti ai risultati di Polyspace.
Esecuzione dell'analisi sui progetti Polyspace Platform
- 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.
Esecuzione dell'analisi utilizzando MATLAB o 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.
Caricamento dei risultati su 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
Configurazione dell'analisi sul 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.
Integrazione con gli strumenti CI
- 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.