maven - 宁静测试问题没有这样的文件或目录
问题描述
我正在尝试使用 serenity 运行测试,它可以在本地工作站(Windows 10)中运行。但是当我尝试通过 maven jenkins 作业(托管在 linux 上)执行时,我没有遇到这样的文件或目录问题
Oct 26, 2020 6:06:20 AM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.io.FileNotFoundException) caught when processing request to {}->http://example.com:80: /var/lib/jenkins/workspace/automation\src\main\resources\/test.gdb.zip (No such file or directory)
/var/lib/jenkins/workspace 中引用的文件确实存在。为什么无法读取文件?
解决方案
推荐阅读
- c++ - 我创建了一个简单的程序,但有些地方不对劲
- google-cloud-platform - 权限被拒绝(公钥)。- 我无法在 Google Cloud Platform 上登录我的虚拟机
- spring-boot - Spring Boot Jpa“无法调用 sendError()”
- c++ - 在 IBM Rhapsody 中查找活动类销毁完成的时间
- azure-active-directory - Azure B2C 多自定义登录策略
- npm - nexus 中 npm-packages 的快照
- python - 将 XML 文件(带有嵌入的字典)解析为 Pandas 数据框
- qt - QML - 如何将 SVG DOM 加载到图像中
- asp.net-core - 服务器地址中无法识别的方案
- java - 在 bean 'container' 中找到不明确的工厂方法匹配