Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Jenkins CI 上的 Android Emulator Plugin 的帮助下在模拟器上安装和运行我的 apk,但我无法使用通配符,因为我用风味名称、内部版本号和构建日期重命名了我的 apk 文件。有没有办法让事情顺利进行?
查看源代码,似乎Install APK 步骤不支持通配符。
在这种情况下,您可以先将 APK 复制到已知路径(例如,在执行 Shell 步骤中)。
例如
shopt -s globstar cp **/app/**/*.apk app.apk cp **/test/**/*.apk test.apk