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

            abdou_keita Abdou KEITA created issue -
            abdou_keita Abdou KEITA made changes -
            Field Original Value New Value
            Priority Minor [ 4 ] Major [ 3 ]
            jglick Jesse Glick made changes -
            Component/s docker-plugin [ 18724 ]
            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'
            jglick Jesse Glick made changes -
            Resolution Won't Do [ 10001 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abdou_keita Abdou KEITA made changes -
            Description Hello Jesse,

             

            withDockerContainer stop containers and delete them.

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

             

            Thank you in advance!

             

            --Abdou--
            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
            abdou_keita Abdou KEITA made changes -
            Resolution Won't Do [ 10001 ]
            Status Resolved [ 5 ] In Review [ 10005 ]
            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!  
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            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?
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-51550 [ JENKINS-51550 ]

              People

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

                Dates

                Created:
                Updated: