Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60676

withDockerContainer Stop and delete containers after body execution

      Hello Jesse,

       

      withDockerContainer stops containers and deletes them after the end of the block.

      Could you have a look on how to make it optional?

       

      Thank you in advance!

       

      Abdou

          [JENKINS-60676] withDockerContainer Stop and delete containers after body execution

          Jesse Glick added a comment -

          If you want specialized behavior, simply do not use this plugin—use for example

          sh 'docker run whatever'
          

          Jesse Glick added a comment - If you want specialized behavior, simply do not use this plugin—use for example sh 'docker run whatever'

          Abdou KEITA added a comment -

          I will open a new PR then! 
          And i will let you review it!

           

          Abdou KEITA added a comment - I will open a new PR then!  And i will let you review it!  

          Jesse Glick added a comment -

          I am no longer maintaining this plugin, but if I were, I would recommend any such PR be rejected as an unnecessary complication.

          Jesse Glick added a comment - I am no longer maintaining this plugin, but if I were, I would recommend any such PR be rejected as an unnecessary complication.

          Abdou KEITA added a comment -

          Abdou KEITA added a comment - Could you update  https://issues.jenkins-ci.org/browse/JENKINS-51550  as well?

            Unassigned Unassigned
            abdou_keita Abdou KEITA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: