Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIB image build in Windows fails #705

Closed
manusa opened this issue May 25, 2021 · 1 comment · Fixed by #706
Closed

JIB image build in Windows fails #705

manusa opened this issue May 25, 2021 · 1 comment · Fixed by #706
Assignees
Labels
bug Something isn't working

Comments

@manusa
Copy link
Member

manusa commented May 25, 2021

Description

When running a JIB image build in Windows it fails with:

[ERROR] oc: Failed to execute the build [Error when building JIB image]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.289 s
[INFO] Finished at: 2021-05-25T12:12:12+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.jkube:openshift-maven-plugin:1.3.0:build (default) on project spring-boot-helm: Failed to execute the build: Error when building JIB image: C:\Users\mnurisan\Downloads\delete\jkube\quickstarts\maven\spring-boot-helm\target\docker\spring-boot-helm\1.3.0\build\deployments\spring-boot-helm-1.3.0.jar: The process cannot access the file because it is being used by another process. -> [Help 1]

WIP

Info

  • Eclipse JKube version : 1.3.0

  • If it's a bug, how to reproduce :

$ cd quickstarts\maven\spring-boot-helm
$ mvn clean package -Popenshift -Djkube.build.strategy=jib
@manusa manusa added the bug Something isn't working label May 25, 2021
@manusa manusa added this to the 1.3.1 milestone May 25, 2021
@manusa manusa self-assigned this May 25, 2021
@manusa
Copy link
Member Author

manusa commented May 25, 2021

Relates to #300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant