Skip to content

Commit

Permalink
Skip TestJenkinsfile with -DskipUnitTests
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Apr 3, 2017
1 parent 02aff7d commit fbbd602
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion build-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,28 @@
</plugins>
</build>
</profile>
</profiles>
<profile>
<!-- This profile lets us skip unit tests (but not integration tests)
with -DskipUnitTests . The option
-DskipTests can still be used to skip all tests (unit and integration). -->
<id>skipUnitTests</id>
<activation>
<property>
<name>skipUnitTests</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>

</profiles>

</project>

0 comments on commit fbbd602

Please sign in to comment.