-
Bug
-
Resolution: Unresolved
-
Major
-
None
We run our regression tests in docker to make sure they not interfere however
plugins seems to force mounting /tmp:/tmp which is shared between containers,
which means tests will interfere with each other. I want to mount /tmp/${BUILD_NUMBER}:/tmp. However if I specify that build is failing because /tmp passed again with a different value (besides being passed twice and var not expanding which is different bug)
14:14:31 Error response from daemon: Duplicate bind mount /tmp
14:14:31 FATAL: Failed to run docker image
docker run --tty --detach --privileged --workdir /var/lib/jenkins/jobs/build-gerrit-master/workspace --volume /tmp/${BUILD_NUMBER}:/tmp:rw --volume /tmp/467:/tmp:rw --volume /var/lib/jenkins:/var/lib/jenkins:rw --volume /tmp:/tmp:rw
So it either should not pass /tmp mount point if it see that user defined one, or it should allow to complete override everything that plugin want to pass by default.
[JENKINS-36769] Cannot override /tmp volume mount
Workflow | Original: JNJira [ 173505 ] | New: JNJira + In-Review [ 185161 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] |