Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DockerCloud removes containers it created if provisioning failed.
If the docker container gets successfully created, but Jenkins then fails to take on the new slave, we used to forget about it and just leak containers. We now remove the container if we failed to complete the provisioning process after we'd created it, and log the termination progress.
- Loading branch information
Showing
3 changed files
with
132 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters