soapUI测试报告在jenkins中不可见

时间:2017-03-30 07:46:18

标签: jenkins soapui

我使用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中是否还需要其他东西?

1 个答案:

答案 0 :(得分:0)

Jenkins似乎是一个problem,它不会发布在maven(非自由式)项目的surefire-plugin之外生成的万无一失的报告。