I was trying to run a build on my git server and it told me "Shell executor does not support absolute cache path: /root/.m2/repository"
I am running this as "root" user, the os is debain Can someone help me plz? Thanks Very Much!
Looks like OneDev failed to detect your docker installation, and used shell executor instead.
How should I solve this problem then:thinking:
How are you starting OneDev? Are you able to run docker container as root account?
I am running on bare material using server.sh
Please login as root account and make sure this command works:
docker run --rm hello-world
If yes, start OneDev from same terminal:
bin/server.sh console
And then run your build again to see if it works.
Please login as root account and make sure this command works: docker run --rm hello-world If yes, start OneDev from same terminal: bin/server.sh console And then run your build again to see if it works.
When I run this command, it tells me
root@VM-4-8-debian:~# docker run --rm hello-world -bash: docker: command not found
So you will need to install docker so that root account can run this command.
Open
Closed
I was trying to run a build on my git server and it told me "Shell executor does not support absolute cache path: /root/.m2/repository"
I am running this as "root" user, the os is debain Can someone help me plz? Thanks Very Much!