我使用maven-soapui-extension-plugin:test-multi
来运行在多个soapUI项目中拆分的测试。
我发现在TEST-*.xml
中生成了很多target/surefire-reports
但我在jenkins构建页面上看不到它们,就像我对包含常规junit测试的其他项目一样。似乎詹金斯没有发现这些报道。
我的插件配置如下:
<plugin>
<groupId>com.github.redfish4ktc.soapui</groupId>
<artifactId>maven-soapui-extension-plugin</artifactId>
<version>4.6.4.2</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test-multi</goal>
</goals>
<configuration>
<projectFiles>
<scan>
<baseDirectory>${soapui.folder}</baseDirectory>
<includes>
<include>**/*-soapui-project.xml</include>
</includes>
</scan>
</projectFiles>
<host>${soapui.endpoint}</host>
<outputFolder>${basedir}/target/surefire-reports</outputFolder>
<junitReport>true</junitReport>
<exportAll>true</exportAll>
<testFailIgnore>true</testFailIgnore>
<useOutputFolderPerProject>false</useOutputFolderPerProject>
</configuration>
</execution>
</executions>
</plugin>
我的配置或jenkins中是否还需要其他东西?