在我的Windows 10计算机上为maven项目运行{=SUBSTITUTE(SUBSTITUTE(JoinXL(IF(TRANSPOSE($E$19:$AH$19)=D12,TRANSPOSE($E$20:$AH$20),"{}"),", "),"{}, ",""),", {}", "")}
时,我立即收到的错误信息并不足以有效调试:
drone exec
即使Docker日志也没有给我任何可以使用的东西:
> drone exec --local
Running Matrix job #0
500 Internal Server Error: Invalid volume spec "\\drone\\src": Invalid volume destination
path: '\drone\src' mount path must be absolute.
我还没有对无人机配置做任何事情,唯一暗示可能出错的是Drone执行官无法处理Windows路径,考虑到完全缺乏相关性,这似乎不太可能无人机问题。
[10:46:01.794][ApiProxy ][Info ] proxy >> GET /v1.15/images/busybox:latest/json
[10:46:01.802][ApiProxy ][Info ] Dial Hyper-V socket 48de0224-c5be-4b4c-9524-ac9c4b61e0e2:23a432c2-537a-4291-bcb5-d62504644739
[10:46:01.808][ApiProxy ][Info ] Successfully dialed Hyper-V socket 48de0224-c5be-4b4c-9524-ac9c4b61e0e2:23a432c2-537a-4291-bcb5-d62504644739
[10:46:01.814][ApiProxy ][Info ] proxy << GET /v1.15/images/busybox:latest/json
[10:46:01.820][ApiProxy ][Info ] proxy >> POST /v1.15/containers/create?name=drone_ambassador_QK2xbay7OiI [rewriteBinds]
[10:46:01.832][ApiProxy ][Info ] proxy >> POST /v1.15/containers/create?name=drone_ambassador_QK2xbay7OiI
[10:46:01.839][ApiProxy ][Info ] Dial Hyper-V socket 48de0224-c5be-4b4c-9524-ac9c4b61e0e2:23a432c2-537a-4291-bcb5-d62504644739
[10:46:01.849][ApiProxy ][Info ] Successfully dialed Hyper-V socket 48de0224-c5be-4b4c-9524-ac9c4b61e0e2:23a432c2-537a-4291-bcb5-d62504644739
[10:46:01.855][ApiProxy ][Info ] proxy << POST /v1.15/containers/create?name=drone_ambassador_QK2xbay7OiI
我正在寻找两件事:
pipeline:
build:
image: maven:3.3.9-jdk-8-alpine
commands: [ "mvn clean package" ]
到.drone.yml
级别的选项参考。官方文档似乎没有任何地方,并且似乎希望您依赖伪教程示例。docker-compose.yml
功能并继续实际使用工具的错误的一些想法,而不是浪费时间与他们作斗争。附录
摆弄配置中的drone exec
属性让我可以改变它所抱怨的内容,并使用机器特定的绝对路径(如此无用)给我一个新的错误。输入和结果:
workspace.base
workspace:
base: /
Invalid volume spec "/": Invalid specification: destination can't be '/' in '/'
workspace:
base: C:\code\project
注意:它是共享的。