Jenkins 升级到2.42 Junit test report 出现错误的解决
来源:互联网 发布:海尔电视电视直播软件 编辑:程序博客网 时间:2024/06/06 05:30
从Jenkins 2.39升级到 Jenkins 2.42,在构建的时候出现错误。
Recording test resultsERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?Finished: FAILURE
期间没做过任何的修改,只是将本地的 gradle 从2.11升级到了gradle 3.3
进入项目的配置选择,发现红色的提示。
根据Jenkins的提示:
'build/test-results/*.xml' doesn't match anything: 'build' exists but not 'build/test-results/*.xml'Fileset ‘includes’ setting that specifies the generated raw XML report files, such as ‘myproject/target/test-reports/*.xml’. Basedir of the fileset is the workspace root.
修改了设置的格式,由
build/test-results/*.xml
改为
build/test-results/**/*.xml
重新构建,即可通过。
格式参考:
http://ant.apache.org/manual/Types/patternset.html
0 0
- Jenkins 升级到2.42 Junit test report 出现错误的解决
- Jenkins 配置junit report
- VC2003升级到vc2008出现的错误
- 使用ant 跑junit test 生成 report
- 从vs2008升级到2010时,reportview出现的错误
- Xcode升级到7.1出现itms-90049 错误 的解决办法
- gradle升级到2.3,出现的编译错误
- 如何解决Vs2003升级到2005出现乱码的问题!
- Eclipse下junit@Test出现Type mismatch: cannot convert from Test to Annotation错误
- Eclipse下junit@Test出现Type mismatch: cannot convert from Test to Annotation错误
- junit Type mismatch: cannot convert from Test to Annotation | eclipse junit 的Test错误
- admob xcode升级问题从早期版本升级到新版本出现的错误
- 搭建项目Maven+springMVC+hibernate时,JUnit测试出现报ClassNotFoundException错误的解决
- Junit+Spring MockMvc+Shiro时出现SessionContext和SecurityManager的错误解决方式
- springboot junit 测试出现的错误
- 解决ANT与JUNIT出现的问题
- Junit常见错误@Test @BeforeClass
- junit 出现 initializationerror错误
- 2016小结
- Altium Desinger 的基本使用(2)
- 9.2.3
- css 如何实现导航border-bottom 有阴影的感觉
- POJ 2773 Happy 2006 【gcd的性质(也可用欧拉函数)】
- Jenkins 升级到2.42 Junit test report 出现错误的解决
- HDU1556:Color the ball(线段树区间更新)
- java基础六对象
- 【清明】莫队算法
- 1051. Pop Sequence
- 圆的运动-原生JS详解
- 神经网络进阶(连载1)为机器人提供知觉
- CCF201312-1 出现次数最多的数(100分)
- 搭建mm网站