Title: Message Title
Keunhong Lee created an issue
Jenkins / JENKINS-57136
Allow users to customize docker timeouts
Issue Type:
New Feature
Assignee:
Unassigned
Components:
docker-workflow-plugin, pipeline
Created:
2019-04-22 08:04
Environment:
Jenkins installed directly to a Debian LXC and docker is installed inside the LXC. Jenkins runs outside the docker but the user 'jenkins' has 'docker' group access.
Labels:
configuration pipeline
Priority:
Major
Reporter:
Keunhong Lee
Though docker enables fast creation of containers, docker is still slow when being executed under legacy environment (e.g. dir file system). Though the timeout for docker commands has been increased to 180/300 seconds by https://issues.jenkins-ci.org/browse/JENKINS-42322, I think the timeout should be configurable. I sometimes get failure like this:
ERROR: Timeout after 180 seconds
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
java.io.IOException: Failed to run image ''. Error:
However, the same code just succeeded its build few minutes ago. That's because the execution time of a docker command varies depending on the system load. In my example, it