Upload Metrics through command line
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Patric Nolle
el 15 de Mayo de 2017
Respondida: Patric Nolle
el 18 de Mayo de 2017
Hello,
Is it possible to use bugfinder on a command line to automate the analysis and automatically upload the results to the metrics server?
we purchased a local matlab + polyspace bugfinder license and we are trying to integrate the analysis to our continuous integration server (jenkins). The example provided addresses a different case, therefore it does not apply to our needs. What we are trying to achieve, is trigger a nightly build with Jenkins which includes bugfinder analysis and have the results available for everyone in our team.
I found this help note but apparently this works only with a remote cluster. http://de.mathworks.com/help/bugfinder/ref/uploadresultstopolyspacemetricsaddtoresultsrepository.html?searchHighlight=code%20metrics%20upload&s_tid=doc_srchtitle
Looking forward for ideas and suggestion. Kind Regards
0 comentarios
Respuesta aceptada
Alexandre De Barros
el 16 de Mayo de 2017
Hi,
yes, this is possible via the command 'polyspace-results-repository'.
To upload a results folder to your Metrics server, under Windows:
"C:\Program Files\MATLAB\R2017a\polyspace\bin\polyspace-results-repository.exe" -server <your_metrics_server> -f -prog <project_name > -verif-version <version> -upload <results_directory>
Type:
"C:\Program Files\MATLAB\R2017a\polyspace\bin\polyspace-results-repository.exe" -h
for more information on this command in general
and
"C:\Program Files\MATLAB\R2017a\polyspace\bin\polyspace-results-repository.exe" -h -upload
for more information on the upload.
Best regards,
Alexandre
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Run Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!