-
Bug
-
Resolution: Unresolved
-
Major
-
Docker 1.11
Jenkins 1.642 & 2.27
Plugin v1.6.5
When using an image docker prepared for a specific user, the plugin overrid the default user by the jenkins host uid, and make error because the uid has not right to make some command and has no user in the container.
docker image are used to made a "test&ci" environment for dev.
But cause of that, they can't no more launch command like "adduser --uid ${uid} jenkins" or ssh, because the id is not recognized, it make at best a "permission denied" at worst an "unknown uid ${uid}: who are you?" message into the container
check "privileged mode" doesn't help and defining "jenkins" in the group field, seems like, just skip the bash script step (doing nothing)
please add --user option in the exec command only if field is filled or checked, otherwise just let the container run with the default user configured in the docker file