????????+??????????
???????????? ???????[ 2015/4/21 13:22:00 ] ??????????????? ????????
????2???????????????????????????????????????
??????1??????????????????artifacts?????檔???????????????????????????
???????CruiseControl??????config.xml
????<artifactspublisher dir="${checkoutdir}/${project.name}/target/site/cobertura"subdirectory="cobertura"
????dest="artifacts/${project.name}/">
??????2???????CruiseControl?????????У?cruisecontrol·???μ??
????????????main.jsp?????cobertura??tab??
????<cruisecontrol:tabsheet>
????<cruisecontrol:tab name="buildResults"label="Build Results">
????<%@include file="buildresults.jsp"%>
????</cruisecontrol:tab>
????<cruisecontrol:tab name="TestCoverage"label="Test Coverage">
????<%@include file="cobertura.jsp"%>
????</cruisecontrol:tab>
????<cruisecontrol:tab name="testResults"label="Test Results">
????<%@include file="testdetails.jsp"%>
????</cruisecontrol:tab>
????<cruisecontrol:tab name="metrics"label="Metrics">
????<%@include file="metrics.jsp"%>
????</cruisecontrol:tab>
????</cruisecontrol:tabsheet>
??????????cobertura.jsp???????????
????<%@taglib uri="/WEB-INF/cruisecontrol-jsp11.tld"prefix="cruisecontrol"%>
????<cruisecontrol:xsl xslFile="/xsl/header.xsl"/>
????<p>
????<cruisecontrol:artifactsLink>
????<iframe name="CoberturaFrame"id="cloverFrame"style="width:;height:600;"
????marginheight="10"frameborder="0"marginwidth="10"
????src="<%=artifacts_url%>/cobertura/index.html">
????</iframe>
????</cruisecontrol:artifactsLink>
????</p>
??????Ч?????
??????3????????μ???????У?dashboard·???μ??
???????????webapps/dashboard/WEB-INF/vm/build_detail/build_detail_pass ed.vm??
????#parse("build_detail/build_detail_partial_header.vm")
????<div class="build_detail_container">
????<div class="sub_tab_container_menu">
????<ul>
????<li class="current_tab tab_toggle"><a><span>Artifacts</span></a></li>
????<li class="tab_toggle"><a><span>Modifications</span></a></li>
????<li class="tab_toggle"><a><span>Build Log</span></a></li>
????<li class="tab_toggle"><a><span>Tests</span></a></li>
????<li class="tab_toggle"><a><span>Test Coverage</span></a></li>
????#parse('build_detail/build_detail_partial_widgets_tab.vm')
????</ul>
????</div>
????<div class="sub_tab_container_content">
????#set($artifacts_extra_attrs="")
????#parse("build_detail/build_detail_partial_artifacts.vm")
????#set($modification_extra_attrs="style='display:none'")
????#parse("build_detail/build_detail_partial_modification.vm")
????#set($log_extra_attrs="style='display:none'")
????#parse("build_detail/build_detail_partial_log.vm")
????#set($tests_extra_attrs="style='display:none'")
????#parse("build_detail/build_detail_partial_tests.vm")
????#set($coverage_extra_attrs="style='display:none'")
????#parse("build_detail/build_detail_partial_testcoverage.vm")
????#parse('build_detail/build_detail_partial_widgets_content.vm')
????</div>
????</div>
???????????????????build_detail_partial_testcoverage.vm?????????
????<div id="test_coverage"class="widget"$coverage_extra_attrs>
????#if($buildCmd.build.artifactFiles.size()==0)
????<p>No Test Coverage Report found.</p>
????#end
????#foreach($artifactFile in$buildCmd.build.artifactFiles)
????#if($artifactFile.name.equals("cobertura"))
????<iframe src="$url/index.html"style="width:;"height=600
????marginheight="10"frameborder="0"marginwidth="10">
????</iframe>
????#end
????#end
????</div>
??????Ч?????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11