skip to Main Content

I’m trying to run a simple buildjob (mvn clean install) inside a container instead of running it locally in my Intellij IDEA. But I must be missing something. I get a container started and maven starts building, but then immediate fails since no code is in the /tmp//-folder

I have a Run/Debug configuration that points to a Minikube "run target". From the target I pull an the image (successfully) and set the location of maven and java and a project path on target (/app). But when the container attempt to run mvn clean install it do so from a /tmp-folder and no code is found.

Any suggestions what might be the problem?

2

Answers


  1. I guess its container problem
    did you check mount point(volumn)?
    can you please write your container.yml file?

    Login or Signup to reply.
  2. Please follow a ticket with this issue in YouTrack system

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search