Review Comments, Justification from last run on polyspace Metrics
6 次查看(过去 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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!