-
Bug
-
Resolution: Unresolved
-
Major
-
None
Other Jenkins plugins that influence the build environment such as the SSH Agent Plugin are executed on the host system instead of the docker container and therefore don't work for the build anymore.
The problem seems to be a design issue of the plugin. I don't know whether or how this can be implemented, but everything except the scm checkout should be run within the docker container.
- is related to
-
JENKINS-29621 EnvInject Plugin is only working to a limited extent in combination with the docker build environment
-
- Open
-
I guess this issue is due to concurrent buildWrappers configured on your project, one of them to run ssh-agent, the other to execute in docker. Depending execution order you won't get the expected result. Would then need to determine how to enforce BuildWrapper priority.