I am trying to upload the results of bugfinder analysis downloaded from server to the Polyspace Access. But I keep getting this error
8 次查看(过去 30 天)
显示 更早的评论
C:\RTC\Athapa_ws1\vcm_app\Polyspace\Polyspace launch files>polyspace-access -host usdc-ppoly1 -protocol http -login loginName -encrypted-password Password -create-project myTestProject Connecting to http://usdc-ppoly1:9443 Connecting as loginName PROJECT_EXISTS myTestProject Command Completed
C:\RTC\Athapa_ws1\vcm_app\Polyspace\Polyspace launch files>polyspace-access -host usdc-ppoly1 -protocol http -login loginName -encrypted-password Password -upload ./Bug_finder_results -project myTestProject Error: Results generated with the desktop application can only be uploaded to Polyspace Access from the desktop user interface Try 'polyspace-access -h' for more information Press any key to continue . . .
0 个评论
采纳的回答
Anirban
2019-10-31
编辑:Anirban
2019-10-31
To use the polyspace-access command to upload results, the results must have been generated using one of the Polyspace Server products, Polyspace Bug Finder Server or Polyspace Code Prover Server, or equivalently, the commands polyspace-bug-finder-server or polyspace-code-prover-server.
See more information here: https://www.mathworks.com/help/polyspace_bug_finder_server/gs/run-bug-finder-on-server.html.
Your error message implies that you ran the analysis using the Polyspace desktop products, Polyspace Bug Finder or Polyspace Code Prover. You might have run the analysis using one of the commands polyspace-bug-finder or polyspace-code-prover or run the analysis in the user interface of the desktop products. In either of those cases, you cannot upload the results automatically using the polyspace-access command. You have to upload them individually from the Polyspace user interface. See here: https://www.mathworks.com/help/polyspace_bug_finder_access/gs/upload-results.html
The idea is: the Polyspace Server-Access products serve as a pair for post-submit automation. See here: https://www.mathworks.com/help/polyspace_bug_finder_server/gs/polyspace-products-for-code-analysis-and-verification.html
The desktop products are meant to be run on individual developer's desktops, prior to code submission. Although the desktop products also support automation workflows, an automation that includes upload to Polyspace Access, is not supported. With the desktop products, you are meant to run an analysis and view the results all on the desktop.
However, you might have a license for both the desktop and server products. In this case, you can use the user interface of the desktop products to configure an analysis, get the analysis working and then generate scripts that you run with the server products. See here: https://www.mathworks.com/help/polyspace_bug_finder_server/ug/create-command-line-script-from-project-file.html
1 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Complete List of Polyspace Bug Finder Results 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!