Skip to content
Permalink
Browse files

[JENKINS-31999] run Jenkins system tests with failsafe plugin

  • Loading branch information...
cpoenisch committed May 27, 2016
1 parent 19baf57 commit 7229b19c53227be495903dda4e4d61efe0c9b998
Showing with 36 additions and 4 deletions.
  1. +36 −4 pom.xml
40 pom.xml
@@ -94,7 +94,7 @@
<!-- Test scope --> <!-- Test scope -->
<equalsverifier.version>1.7.8</equalsverifier.version> <equalsverifier.version>1.7.8</equalsverifier.version>
<mockito-core.version>1.10.19</mockito-core.version> <mockito-core.version>1.10.19</mockito-core.version>
<workflow-aggregator.version>1.4.2</workflow-aggregator.version> <workflow.version>1.4.2</workflow.version>
<concurrency>2</concurrency> <concurrency>2</concurrency>


<!-- JACOB --> <!-- JACOB -->
@@ -187,7 +187,20 @@
<dependency> <dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId> <groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-aggregator</artifactId> <artifactId>workflow-aggregator</artifactId>
<version>${workflow-aggregator.version}</version> <version>${workflow.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-cps</artifactId>
<version>${workflow.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-step-api</artifactId>
<version>${workflow.version}</version>
<classifier>tests</classifier>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@@ -199,15 +212,33 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<includes> <includes>
<!-- Includes system tests ending with ST -->
<include>**/*Test.java</include> <include>**/*Test.java</include>
<include>**/*ST.java</include>
</includes> </includes>
<excludes> <excludes>
<exclude>InjectedTest.java</exclude> <exclude>InjectedTest.java</exclude>
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<includes>
<include>**/*ST.java</include>
<include>InjectedTest.java</include>
</includes>
<reuseForks>true</reuseForks>
<forkCount>${concurrency}</forkCount>
</configuration>
<executions>
<execution>
<id>integration-tests</id>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
@@ -326,6 +357,7 @@
<plugin> <plugin>
<groupId>org.eclipse.m2e</groupId> <groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId> <artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration> <configuration>
<lifecycleMappingMetadata> <lifecycleMappingMetadata>
<pluginExecutions> <pluginExecutions>

0 comments on commit 7229b19

Please sign in to comment.
You can’t perform that action at this time.