我正在使用jenkins为Android项目进行构建,该项目工作正常但是将apk上传到设备场会导致IOException,因为插件无法找到该文件。
构建日志
[AWSDeviceFarm] Using Project 'Android SDK2'
[AWSDeviceFarm] Using DevicePool 'Test Devices'
[AWSDeviceFarm] Using App '/AndroidSDK/PlayerSDK/build/outputs/apk/androidTest/debug/PlayerSDK-debug-androidTest.apk'
[AWSDeviceFarm] Unable to find artifact java.io.IOException: Expecting Ant GLOB pattern, but saw '/AndroidSDK/PlayerSDK/build/outputs/apk/androidTest/debug/PlayerSDK-debug-androidTest.apk'. See http://ant.apache.org/manual/Types/fileset.html for syntax
Build step 'Run Tests on AWS Device Farm' marked build as failure
Finished: FAILURE
我尝试将应用程序路径更改为
** /建造/输出/ APK / androidTest /调试/ PlayerSDK-调试androidTest.apk
和** / PlayerSDK-debug-androidTest.apk
但这会导致在这个位置找不到任何艺术品#34;错误。有什么想法吗?