Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[FIXED JENKINS-10332] Listen also to check and report maven goals.
  • Loading branch information
uhafner committed Jul 27, 2011
1 parent 73be6bf commit 2e5d81fdac0e2ef0ef20cfeadf503eefca24e419
Showing with 6 additions and 6 deletions.
  1. +2 −3 .classpath
  2. +2 −1 .settings/org.eclipse.core.resources.prefs
  3. +1 −1 pom.xml
  4. +1 −1 src/main/java/hudson/plugins/pmd/PmdReporter.java
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="src" path="target/generated-sources/localizer"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
@@ -1,5 +1,6 @@
#Wed Jun 22 15:17:17 CEST 2011
#Thu Jul 14 15:03:34 CEST 2011
eclipse.preferences.version=1
encoding//src/main/java=ISO-8859-1
encoding//src/main/resources=ISO-8859-1
encoding//src/test/java=ISO-8859-1
encoding//src/test/resources=ISO-8859-1
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analysis-pom</artifactId>
<version>1.24</version>
<version>1.25-SNAPSHOT</version>
<relativePath>../analysis-pom/pom.xml</relativePath>
</parent>

@@ -106,7 +106,7 @@ public PmdReporter(final String healthy, final String unHealthy, final String th

@Override
protected boolean acceptGoal(final String goal) {
return "pmd".equals(goal) || "site".equals(goal);
return "pmd".equals(goal) || "site".equals(goal) || "report".equals(goal) || "check".equals(goal);
}

@Override

0 comments on commit 2e5d81f

Please sign in to comment.