1
当通过jenkins运行我的硒测试时,surefire报告没有被创建。Maven surefire报告Jenkins
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /jenkins/workspace/tester/target/surefire- reports/html to /var/lib/jenkins/jobs/tester/builds/2013-06-27_12-59- 03/htmlreports/HTML_Report
ERROR: Specified HTML directory '/jenkins/workspace/tester/target/surefire-reports/html' does not exist.
Build step 'Publish HTML reports' changed build result to FAILURE
有什么想法可能导致这种情况?
更新:这里是我的POM,我指定神火报告
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<configuration>
<skip>false</skip>
<suiteXmlFiles>
<suiteXmlFile>
src/test/resources/testsuites/${suite}.xml
</suiteXmlFile>
</suiteXmlFiles>
<properties>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
<property>
<name>listener</name>
<value> org.uncommons.reportng.HTMLReporter,org.uncommons.reportng.JUnitXMLReporter,com.testing.qa.zz.framework.web.utilities.TestMethodListener,com.testing.qa.zz.framework.web.utilities.TestStatusListener,com.testing.qa.zz.framework.web.utilities.TestSuiteListener
</value>
</property>
</properties>
<systemPropertyVariables>
<org.uncommons.reportng.escape-output>false
</org.uncommons.reportng.escape-output>
</systemPropertyVariables>
</configuration>
</plugin>
你能提供你的pom.xml的配置和一些前后更多的日志行(如果相关的)? – noahlz
当我添加它时,请参阅上面的内容 – jrock2004