-
Bug
-
Resolution: Won't Fix
-
Blocker
-
jenkins 1.625
docker-commons:1.3.1
docker-workflow:1.2
durable-task:1.8
pipeline-rest-api:1.0
pipeline-stage-view:1.0
pipeline-utility-steps:1.0
workflow-aggregator:1.14
workflow-api:1.14
workflow-basic-steps:1.14
workflow-cps-checkpoint:1.9
workflow-cps-global-lib:1.14
workflow-cps:1.14
workflow-durable-task-step:1.14
workflow-job:1.14
workflow-multibranch:1.14
workflow-scm-step:1.14
workflow-step-api:1.14
workflow-support:1.14jenkins 1.625 docker-commons:1.3.1 docker-workflow:1.2 durable-task:1.8 pipeline-rest-api:1.0 pipeline-stage-view:1.0 pipeline-utility-steps:1.0 workflow-aggregator:1.14 workflow-api:1.14 workflow-basic-steps:1.14 workflow-cps-checkpoint:1.9 workflow-cps-global-lib:1.14 workflow-cps:1.14 workflow-durable-task-step:1.14 workflow-job:1.14 workflow-multibranch:1.14 workflow-scm-step:1.14 workflow-step-api:1.14 workflow-support:1.14
create a job called "my job" with the following pipeline
node ("docker") { sh 'pwd' img = docker.image("ubuntu") img.inside { sh 'pwd' } }
[Pipeline] Allocate node : Start Running on docker in /root/workspace/workspace/test-jobs/jnord/docker inside [Pipeline] node { [Pipeline] sh [docker inside] Running shell script + pwd /root/workspace/workspace/test-jobs/jnord/docker inside [Pipeline] sh [docker inside] Running shell script + docker inspect -f . ubuntu . [Pipeline] Run build steps inside a Docker container : Start $ docker run -t -d -u 0:0 -w "/root/workspace/workspace/test-jobs/jnord/docker inside" -v "/root/workspace/workspace/test-jobs/jnord/docker inside:/root/workspace/workspace/test-jobs/jnord/docker inside:rw" -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ubuntu cat [Pipeline] withDockerContainer { [Pipeline] sh [docker inside] Running shell script sh: 1: cannot create /root/workspace/workspace/test-jobs/jnord/docker inside@tmp/durable-5ea3c644/pid: Directory nonexistent sh: 1: cannot create /root/workspace/workspace/test-jobs/jnord/docker inside@tmp/durable-5ea3c644/jenkins-log.txt: Directory nonexistent sh: 1: cannot create /root/workspace/workspace/test-jobs/jnord/docker inside@tmp/durable-5ea3c644/jenkins-result.txt: Directory nonexistent [Pipeline] } //withDockerContainer $ docker stop 260e1e96255fd938e64d6bcd296ce616e01a40ece5ef093dfd97325418247904 $ docker rm -f 260e1e96255fd938e64d6bcd296ce616e01a40ece5ef093dfd97325418247904 [Pipeline] Run build steps inside a Docker container : End [Pipeline] } //node [Pipeline] Allocate node : End [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE
- is related to
-
JENKINS-33962 docker.inside broken on OSX
- Resolved
-
JENKINS-34194 docker volume mounts not working as expected when run from within swarm container
- Resolved
-
JENKINS-35217 docker.inside broken
- Closed