<%@ taglib prefix="bs" tagdir="/WEB-INF/tags/" %> <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %> <%@ taglib prefix="l" tagdir="/WEB-INF/tags/layout" %> <%@ taglib prefix="admin" tagdir="/WEB-INF/tags/admin" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="forms" tagdir="/WEB-INF/tags/forms" %> <%-- ~ Copyright 2000-2013 JetBrains s.r.o. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --%> Allows importing data from report files produced by an external tool in TeamCity.
Please make sure that tests are not detected automatically before using this feature.
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' || selectedValue == 'jslint'); if (isInspection) { BS.Util.show('xmlReportParsing.condition.note.container'); } else { BS.Util.hide('xmlReportParsing.condition.note.container'); } if (selectedValue == 'findBugs') { BS.Util.show('xmlReportParsing.findBugs.home.container'); } else { BS.Util.hide('xmlReportParsing.findBugs.home.container'); } if (selectedValue == 'junit' || selectedValue == 'nunit' || selectedValue == 'surefire' || selectedValue == 'mstest') { BS.Util.show('xmlReportParsing.warning.container'); } else { BS.Util.hide('xmlReportParsing.warning.container'); } BS.MultilineProperties.updateVisible(); <Do not process> Choose a report type. Path to FindBugs installation on agent. This path is used for loading bug pattern names and descriptions. Newline- or comma-separated set of rules in the form of +|-:path.
Ant-style wildcards supported, e.g. dir/**/*.xml
<%--@elvariable id="buildForm" type="jetbrains.buildServer.controllers.admin.projects.EditableBuildTypeSettingsForm"--%> You can configure a build to fail if it has too many inspection errors or warnings by adding a corresponding build failure condition.
To configure error and warning limits for current monitoring rules only, use the following settings following settings Fail a build if the specified number of errors is exceeded. Leave blank if there is no limit. Fail a build if the specified number of warnings is exceeded. Leave blank if there is no limit.