-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.60.3
Hi,
I try to configure a maven job to be launched in docker container. The docker image has maven installed and configured on Jenkins (Maven installation) but when the task is build, jenkins checked if the maven installation exists on the jenkins slave and failed.
> git config core.sparsecheckout # timeout=10
> git checkout -f 949469ff6dfe4c0877bf6f1e0188baf678f4d7f4
Commit message: "[UPDATE] Added right locations for adapters"
First time build. Skipping changelog.
ERROR: Maven Home /usr/lib/apache-maven-3.3.9 doesnt exist
Finished: FAILURE
If I removed maven installation, the job won't be launched:
ERROR: A Maven installation needs to be available for this project to be built.Either your server has no Maven installations defined, or the requested Maven version does not exist.