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!