Hello all, I'm using the workflow and docker workflow plugins to run jenkins jobs with steps executed inside of docker containers. Things are sort of working - containers get run, but any sh step in a container causes the job to hang forever.
Symptoms are the same as [1], but I don't think write access is the issue. The workspace dir has mode 0777, and jenkins is running as root. Jenkins successfully creates the script for the sh step, but either it runs and misses the result, or it never executes: /var/jenkins_home/jobs/docker-example/workspace# ls -laR .: total 12 drwxrwxrwx 3 root root 4096 Sep 28 15:39 . drwxr-xr-x 4 root root 4096 Sep 28 15:07 .. drwxr-xr-x 2 root root 4096 Sep 28 15:07 .3413c672 ./.3413c672: total 12 drwxr-xr-x 2 root root 4096 Sep 28 15:07 . drwxrwxrwx 3 root root 4096 Sep 28 15:39 .. -rwxr-xr-x 1 root root 18 Sep 28 15:07 script.sh /var/jenkins_home/jobs/docker-example/workspace# cat .3413c672/script.sh #!/bin/sh -xe true Any hints? I'm reproducing with the following workflow script: node { withDockerContainer('ubuntu:latest') { sh 'true' } } Thanks, Ross [1] - https://issues.jenkins-ci.org/browse/JENKINS-28821 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/560AAFD3.4060907%40kallisti.us. For more options, visit https://groups.google.com/d/optout.