Skip to content

Commit

Permalink
FIXES JENKINS-10913 Add support for maven-android-plugin integration …
Browse files Browse the repository at this point in the history
…test reports.

Originally-Committed-As: 5668a06f37d3392af8232ceccdd83a9e7f4ec041
  • Loading branch information
oldelvet committed Sep 6, 2011
1 parent 31a05d1 commit 721b2b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/hudson/maven/reporters/SurefireArchiver.java
Expand Up @@ -230,6 +230,7 @@ private boolean isSurefireTest(MojoInfo mojo) {
&& (!mojo.is("org.eclipse.tycho", "tycho-surefire-plugin", "test"))
&& (!mojo.is("org.sonatype.tycho", "maven-osgi-test-plugin", "test"))
&& (!mojo.is("org.codehaus.mojo", "gwt-maven-plugin", "test"))
&& (!mojo.is("com.jayway.maven.plugins.android.generation2", "maven-android-plugin", "internal-integration-test"))
&& (!mojo.is("org.apache.maven.plugins", "maven-surefire-plugin", "test"))
&& (!mojo.is("org.apache.maven.plugins", "maven-failsafe-plugin", "integration-test")))
return false;
Expand Down Expand Up @@ -279,6 +280,11 @@ else if (mojo.is("org.sonatype.flexmojos", "flexmojos-maven-plugin", "test-run")
if (((skipTests != null) && (skipTests))) {
return false;
}
} else if (mojo.is("com.jayway.maven.plugins.android.generation2", "maven-android-plugin", "internal-integration-test")) {
Boolean skipTests = mojo.getConfigurationValue("skipTests", Boolean.class);
if (((skipTests != null) && (skipTests))) {
return false;
}
}

} catch (ComponentConfigurationException e) {
Expand Down

0 comments on commit 721b2b5

Please sign in to comment.