我正在使用 wercker 对我的 android 应用程序执行 ci,它使用了 rxwen/android docker 图像。
但是wercker在设置环境步骤中总是报如下错误信息。
guest 命令失败,退出代码为 -1:mkdir -p "/pipeline"
最后wercker日志显示在提取docker镜像时退出。
Download complete: 62d952553a13
Verifying Checksum: a8ef60972e3d
Download complete: a8ef60972e3d
Verifying Checksum: fe9f7f434a61
Download complete: fe9f7f434a61
Pull complete: 62d952553a13
Verifying Checksum: 69ecce34af24
Download complete: 69ecce34af24
Pull complete: 722fe23ca1d7
Verifying Checksum: e8164c82c7ad
Download complete: e8164c82c7ad
Pull complete: fe9f7f434a61
Pull complete: 69ecce34af24
Pull complete: a8ef60972e3d
Extracting: e8164c82c7ad (88%)
任何人都知道错误消息意味着什么?
最佳答案
您使用的是什么 docker 镜像?我在尝试使用 nginx 的“stable-alpine”图像时遇到了同样的错误。
原来是因为我需要将 cmd:/bin/sh 添加到框步骤。
即要为我修复它,我必须将其更改为:
box: nginx:stable-alpine
到:
box:
id: nginx:stable-alpine
cmd: /bin/sh
感谢 GitHub 上的 Antti Kupila 帮助我找到解决问题的方法。 GitHub 问题链接:https://github.com/wercker/support/issues/275#issuecomment-255742729
关于android - Wercker设置环境步骤错误: Guest command failed with exit code -1: mkdir -p "/pipeline",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40033866/