Basically what I am trying is , I want my Jenkins build to fail when my soapui test fails. Any help is appreciated.
My current pom looks like this :
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>4.6.1</version>
<executions>
<execution>
<id>run-soap-test-1</id>
<configuration>
<projectFile>xxx.xml</projectFile>
<outputFolder>target/surefire-reports</outputFolder>
<testSuite>xxxSuite</testSuite>
<junitReport>true</junitReport>
<exportwAll>true</exportwAll>
<printReport>true</printReport>
<testFailIgnore>true</testFailIgnore>
</configuration>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
<execution>
<id>run-soap-test-2</id>
<configuration>
<projectFile>xxx.xml</projectFile>
<outputFolder>target/surefire-reports</outputFolder>
<testSuite>xxxxSuite</testSuite>
<junitReport>true</junitReport>
<exportwAll>true</exportwAll>
<printReport>true</printReport>
<testFailIgnore>true</testFailIgnore>
</configuration>
<goals>
<goal>test</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
</plugin>