Hello Jesse,
withDockerContainer stop containers and delete them.
Could you have a look on how to make it optional?
Thank you in advance!
-Abdou-
If you want specialized behavior, simply do not use this plugin—use for example
sh 'docker run whatever'
I will open a new PR then! And i will let you review it!
I am no longer maintaining this plugin, but if I were, I would recommend any such PR be rejected as an unnecessary complication.
Could you update https://issues.jenkins-ci.org/browse/JENKINS-51550 as well?