Dynamically created containerized Jenkins Slave using Jenkins Docker Plugin get removed in the middle of Job execution
I am using Jenkins-Docker-Plugin https://wiki.jenkins.io/display/JENKINS/Docker+Plugin to dynamically create containers and use them as Jenkins Slaves. This is working fine for some jobs. However for some longer running jobs (10mins >) docker container get removed in midway. Making job failed.
I tried increasing various timeout options in plugin configuration, However no result. Can anyone please help.