Review Comments, Justification from last run on polyspace Metrics
4 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am using polyspace metrics to store all polyspace results. Team members are going to metrics server downloading results and adding review comments. Looks ok.
How can i add those comments to subsequent run. For desktop product its easy but how to manage it on metrics server.
following is my .sh script i am using to upload results to metrics server.
Build_Number is jenkins run number.
SWCName="Acc"
ResultDir_CP="C:\Jenkins\workspace\Static-Analysis\Freestyle-jobs\vcu_beta\simulink\\${SWCName}\results_${SWCName}_CP\ps_results.pscp"
if test -f "$ResultDir_CP"; then
echo "$ResultDir_CP exists."
echo "Uploading Code Prover report to Polyspace Metrics server for SWC ${SWCName}"
ResultDir_CP="C:\Jenkins\workspace\Static-Analysis\Freestyle-jobs\vcu_beta\simulink\\${SWCName}\results_${SWCName}_CP"
polyspace-results-repository -upload "$ResultDir_CP" -prog "vcu_beta" -product "CodeProver" -f -module "${SWCName}_CP" -server "ServerIP:12427" -verif-version "${BUILD_NUMBER}"
fi
ResultDir_BF="C:\Jenkins\workspace\Static-Analysis\Freestyle-jobs\vcu_beta\simulink\\${SWCName}\results_${SWCName}_BF\ps_results.psbf"
if test -f "$ResultDir_BF"; then
echo "$FILE exists."
echo "Uploading Bug Finder report to Polyspace Metrics server for SWC ${SWCName}"
ResultDir_BF="C:\Jenkins\workspace\Static-Analysis\Freestyle-jobs\vcu_beta\simulink\\${SWCName}\results_${SWCName}_BF"
polyspace-results-repository -upload "$ResultDir_BF" -prog "vcu_beta" -product "BugFinder" -f -module "${SWCName}_BF" -server "10.10.0.231:12427" -verif-version "${BUILD_NUMBER}"
fi
0 件のコメント
採用された回答
Anirban
2021 年 3 月 19 日
編集済み: Anirban
2021 年 3 月 19 日
Hi,
You can use the -download option of the polyspace-results-repository command to download the results from Polyspace Metrics. Then use the -import-comments option when you perform the subsequent run (with polyspace-bug-finder or polyspace-code-prover or polypsace-bug-finder-server or polyspace-code-prover-server) to import review information from the downloaded results folder.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Run Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!