采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
手动执行testing.xml可以,jenkins执行pom.xml成功可是没调用执行testing.xml,这个怎么弄
1、命令执行是否执行
2、看一下你jenkins里面 console里面日志是啥。
3、确定你配置一定没问题
Some problems were encountered while building the effective model for com.ctt:beiming:jar:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 141, column 21
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ beiming --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ beiming --- [INFO] No tests to run. [INFO] ------------------------------------------------------------------------
没法截图,发文字也只能300字以内,pom.xml和testing.xml都在同一级根目录下,pom.xml也加了build插件里有maven-surefire-plugin,在jenkins显示构建成功可是没执行我的testng.xml
登录后可查看更多问答,登录/注册
零基础学习Web自动化,测试面试必问技术点解答,高薪在向你招手
1.3k 9
963 1
925 9
694 9