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

withDockerContainer Stop and delete containers after body execution

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

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

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

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

             

            Show
            abdou_keita Abdou KEITA added a comment - I will open a new PR then!  And i will let you review it!  
            Hide
            jglick 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.

            Show
            jglick 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.
            Hide
            abdou_keita Abdou KEITA added a comment -
            Show
            abdou_keita Abdou KEITA added a comment - Could you update  https://issues.jenkins-ci.org/browse/JENKINS-51550  as well?

              People

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

                Dates

                Created:
                Updated: