简体   繁体   中英

Intellij Run Target with maven

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?

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

请在YouTrack 系统中关注此问题的工单

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM