Status: Open (View Workflow)
Environment:Jenkins 2.33 on CentOS 7 (master)
CentOS 7 with Docker 1.12 (slave)
Artifactory Jenkins Plugin 2.8.1
Docker Pipeline Plugin 1.9.1
The following Pipeline steps result in an error:
Jenkins output (debug output omitted):
When the steps are not enclosed in docker.inside everything works fine.
My guess is that the Jenkins artifactory plugin creates files in the /tmp dir of the slave running the container instead of either using the workspace@tmp dir or the /tmp inside the container. After the gradle run the Jenkins plugin tries to read the file from /tmp in the container, where it was never created.
We want to run multiple containers per slave so mounting the /tmp directory in the container is not possible.