繁体   English   中英

用詹金斯建立apk? 错误:存档工件

[英]build apk with jenkins? error: archive artifacts

我正试图从我在github上的项目中构建一个apk。 Jenkins与github相关联...

Jenkins在我的jenkins页面上接受了该项目,成功构建了该项目,但是当它尝试存档工件时,会产生以下错误:

There are no matches for "** / *. Apk": "**" exists but "** / *. Apk" no
ERROR: Step ‘Archive artifacts’ failed: No artifact matching the pattern for "** / *. Apk" files was found. Is this a configuration error?
Finished: FAILURE.

我已经尝试了所有类似的问题,但是找不到解决方案。

尝试这个:

archiveArtifacts allowEmptyArchive: true, artifacts: ${WORKSPACE}/path/to/aps/*.apk

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM