<%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %> <%@ taglib prefix="l" tagdir="/WEB-INF/tags/layout" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="forms" tagdir="/WEB-INF/tags/forms" %>
Please make sure that tests are not detected automatically before using this option.
function displayWarning(runnerType) { var select = $('xmlReportParsing.reportType'); var reportType = select.options[select.selectedIndex].value; switch (runnerType) { case ('Ant'): if (reportType == 'junit') { return true; } break; case ('NAnt'): case ('sln2003'): case ('VS.Solution'): if (reportType == 'nunit') { return true; } break; case ('Maven2'): if (reportType == 'surefire') { return true; } break; } return false; } var selectedValue = this.options[this.selectedIndex].value; if (selectedValue == '') { BS.Util.hide($('xmlReportParsing.reportDirs.container')); BS.Util.hide($('xmlReportParsing.verboseOutput.container')); } else { BS.Util.show($('xmlReportParsing.reportDirs.container')); BS.Util.show($('xmlReportParsing.verboseOutput.container')); BS.MultilineProperties.show('xmlReportParsing.reportDirs', true); $('xmlReportParsing.reportDirs').focus(); } var isInspection = (selectedValue == 'findBugs' || selectedValue == 'pmd' || selectedValue == 'checkstyle'); if (isInspection) { BS.Util.show($('xmlReportParsing.max.errors.container')); BS.Util.show($('xmlReportParsing.max.warnings.container')); } else { BS.Util.hide($('xmlReportParsing.max.errors.container')); BS.Util.hide($('xmlReportParsing.max.warnings.container')); } if (selectedValue == 'findBugs') { BS.Util.show($('xmlReportParsing.findBugs.home.container')); } else { BS.Util.hide($('xmlReportParsing.findBugs.home.container')); } if (displayWarning($('runnerType').options[$('runnerType').selectedIndex].value)) { BS.Util.show($('xmlReportParsing.warning.container')); } else { BS.Util.hide($('xmlReportParsing.warning.container')); } BS.MultilineProperties.updateVisible(); <Do not process> Choose report type. Path to FindBugs installation on agent. This path is used for loading bug patterns names and descriptions. New line or comma separated paths to reports. Specified paths can be absolute or relative to the checkout directory. Support ant-style wildcards like dir/**/*.xml. To ensure monitoring swiftness specify more concrete paths. Fail the build if the specified number of errors is exceeded. Fail the build if the specified number of warnings is exceeded. Leave blank if there is no limit.