在hudson的email-ext插件中使用cppcheck的果冻脚本模板出了什么问题。
<!-- CppCheck TEMPLATE -->
<!--<j:set var="cppClassName" value="CppcheckBuildAction" />-->
<j:set var="cppcheckAction" value="${it.getAction('com.thalesgroup.hudson.plugins.cppcheck.CppcheckBuildAction')}" />
<TABLE width="100%">
<TR><TD class="bg1" colspan="2"><B>CppCheck Result</B></TD></TR>
<TR bgcolor="white"><TD class="test_failed" colspan="2"><B><li>Failed: ${cppcheckResult.summary} </li></B></TD></TR>
</TABLE>
<j:if test="${cppcheckAction!=null}">
<j:set var="cppcheckResult" value="${cppcheckAction.result}" />
<j:if test="${cppcheckResult!=null}">
<TABLE width="100%">
<TR><TD class="bg1" colspan="2"><B>CppCheck Result</B></TD></TR>
<TR bgcolor="white"><TD class="test_failed" colspan="2"><B><li>Failed: ${cppcheckResult.getSummary} </li></B></TD></TR>
</TABLE>
</j:if>
<BR/>
</j:if>