[ 
https://issues.apache.org/jira/browse/YETUS-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated YETUS-580:
-----------------------------------
    Attachment: YETUS-580.00.patch

-00:
* cleanup docker parameters
* add --cidfile to the param list
* change docker run to be non-exec and run in the background. we now wait for 
it to exit and call the normal cleanup_and_exit routine.
* add a signal handler which kills docker container if tripped
* trap int & term and pass them to the signal handler

Testing this locally works.  I'll set up a (real) test for jenkins here in a 
bit.

> build a wrapper around docker in jenkins mode
> ---------------------------------------------
>
>                 Key: YETUS-580
>                 URL: https://issues.apache.org/jira/browse/YETUS-580
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Test Patch
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Minor
>         Attachments: YETUS-580.00.patch
>
>
> It's been known for a while that Jenkins can't abort docker containers 
> launched by precommit. We should write a wrapper that catches interrupts and 
> kills the container for Jenkins.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to