Update the pyflakes warning plugin
This commit is contained in:
parent
7d4804ea50
commit
d9ef700395
1 changed files with 7 additions and 9 deletions
|
@ -1,21 +1,19 @@
|
|||
hudson.plugins.warnings.WarningsPublisher.xml
|
||||
=============================================
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!-- plugin requested by user rholy (ticket #4175) -->
|
||||
<hudson.plugins.warnings.WarningsDescriptor plugin="warnings@4.38">
|
||||
<hudson.plugins.warnings.WarningsDescriptor plugin="warnings@4.39">
|
||||
<groovyParsers>
|
||||
<hudson.plugins.warnings.GroovyParser>
|
||||
<name>pyflakes</name>
|
||||
<regexp>^(.*):([0-9]*):(.*)$</regexp>
|
||||
<script>import hudson.plugins.warnings.parser.Warning
|
||||
import hudson.plugins.analysis.util.model.Priority
|
||||
import hudson.plugins.analysis.util.model.Priority
|
||||
|
||||
String fileName = matcher.group(1)
|
||||
String category = "PyFlakes Error"
|
||||
String lineNumber = matcher.group(2)
|
||||
String message = matcher.group(3)
|
||||
String fileName = matcher.group(1)
|
||||
String category = "PyFlakes Error"
|
||||
String lineNumber = matcher.group(2)
|
||||
String message = matcher.group(3)
|
||||
|
||||
return new Warning(fileName, Integer.parseInt(lineNumber), category, "PyFlakes Parser", message, Priority.NORMAL);</script>
|
||||
return new Warning(fileName, Integer.parseInt(lineNumber), category, "PyFlakes Parser", message, Priority.NORMAL);</script>
|
||||
<example></example>
|
||||
<linkName>https://pypi.python.org/pypi/pyflakes</linkName>
|
||||
<trendName>pyflakes errors</trendName>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue