-
Bug
-
Resolution: Postponed
-
Minor
-
None
-
Jenkins 1.609.1
When using the job type "Maven project" the option "Build inside a Docker container" isn't displayed within the Build Environment settings.
- depends on
-
JENKINS-21746 LauncherDecorator should be able to override localhost location
-
- Open
-
- is related to
-
JENKINS-44782 Maven build job attempts to connect to 'dockerhost' even when not running in a docker container
-
- Open
-
This is by intention, maven job type won't work with a docker container as it open an arbitrary socket for communication between slave agent and maven process, which we can't discover at container launch time
Also, maven job type do require a maven installation set, which does not make much sense in this plugin context, as you should rely on maven installed within the image (for example, using maven official image)