持续集成 Jenkins+Maven 执行 install 报错

白纸 · June 19, 2017 · Last by 白纸 replied at June 20, 2017 · 2008 hits

pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>CaseXML/OAtest.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>

在 Jenkins 配置

构筑时报错:

请问
1.Jenkins 持续集成测试 跑 mvn 项目的测试用例是怎么执行的
2.报错怎么配置解决

共收到 2 条回复 时间 点赞

pom 文件里没加 testng 依赖?

白纸 #2 · June 20, 2017 Author
AngryTester 回复

是犯傻 pom 文件 依赖作用域 写的 test😂

白纸 关闭了讨论 20 Jun 10:19
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up