<%-- ~ Copyright 2000-2014 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. --%> <%@ 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="bs" tagdir="/WEB-INF/tags" %> BS.Util.hide('pathInputSection'); BS.Util.show('versionInputSection'); BS.Util.show('pathInputSection'); BS.Util.hide('versionInputSection'); BS.VisibilityHandlers.updateVisibility('${constants.rootKey}'); The path to the FxCopCmd.exe home directory The FxCop version required by the build; the agent requirement will be created.
To use any version auto-detected on the agent side, select 'Any Detected'.
$('${constants.projectKey}').disabled = this.checked; $('${constants.filesKey}').disabled = !this.checked; $('${constants.filesExcludeKey}').disabled = !this.checked; $('${constants.filesKey}').focus(); BS.VisibilityHandlers.updateVisibility('${constants.filesKey}'); BS.VisibilityHandlers.updateVisibility('${constants.projectKey}'); Assembly file names relative to the checkout root separated by spaces.
Ant-like wildcards are supported.
Example: bin*.dll
$('${constants.filesKey}').disabled = this.checked; $('${constants.filesExcludeKey}').disabled = this.checked; $('${constants.projectKey}').disabled = !this.checked; $('${constants.projectKey}').focus(); BS.VisibilityHandlers.updateVisibility('${constants.filesKey}'); BS.VisibilityHandlers.updateVisibility('${constants.filesExcludeKey}'); BS.VisibilityHandlers.updateVisibility('${constants.projectKey}'); TheFxCop project file name relative to the checkout root
The space-separated list of directories relative to the checkout root.
Sets /d: options for FxCopCmd
Sets /ignoregeneratedcode for FxCopCmd (note: it's supported since FxCop 1.36) The XSLT file to generate an HTML report.
Leave blank to skip generation,
set to '%system.FxCopRoot%/Xml/FxCopReport.xsl' to get a standard FxCop report,
or specify any custom file relative to the checkout directory.
Additional options for FxCopCmd.exe command line
Fails build on analysis errors from FxCop such as:
ANALYSIS_ERROR ASSEMBLY_LOAD_ERROR, ASSEMBLY_REFERENCES_ERROR, PROJECT_LOAD_ERROR, RULE_LIBRARY_LOAD_ERROR, UNKNOWN_ERROR, OUTPUT_ERROR
You can configure a build to fail if it has too many inspection errors or warnings. To do so, add a corresponding build failure condition.