Skip to content

Change the host path of maven and sonar cache dir to abs

Created by: LinuxSuRen

see the errors from kind cluster

  Warning  Failed     7s         kubelet, kind-control-plane  Error: failed to create containerd task: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/run/containerd/io.containerd.runtime.v2.task/k8s.io/maven/sonar_cache\\\" to rootfs \\\"/run/containerd/io.containerd.runtime.v2.task/k8s.io/maven/rootfs\\\" at \\\"/root/.sonar/cache\\\" caused \\\"stat /run/containerd/io.containerd.runtime.v2.task/k8s.io/maven/sonar_cache: no such file or directory\\\"\"": unknown

fix #1134 (closed)

合并请求报告