As you mentioned the lifecycle of the docker container with the step 'withDockerContainer' is well defined and doesn't allow to keep it alive. So i was assuming the docker.inside might help you to keep the container alive, but I was wrong: the docker.inside step removes the container while the 'docker.withRun' it just stops it, based on the below refcard:
- https://dzone.com/refcardz/continuous-delivery-with-jenkins-workflow?chapter=12 As I said, it was just an idea, unfortunately I haven't had to solve that use case yet... Cheers -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e1e0bee6-7a8c-48b8-90b7-f737350676a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
