From 97b8a025b3ba5f016923a8f5fc9577c25b398e3f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 16 Sep 2020 09:08:10 +0200 Subject: [PATCH] ci: cleanup containers post e2e job --- azure-pipelines.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 055a4ddc5..4fee7dd1b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -181,7 +181,14 @@ stages: - task: CmdLine@2 displayName: Run full test suite inputs: - script: pipenv run coverage run ./manage.py test e2e -v 3 + script: | + pipenv run coverage run ./manage.py test e2e -v 3 + - task: CmdLine@2 + condition: always() + displayName: Cleanup + inputs: + script: | + docker stop $(docker ps -aq) - task: CmdLine@2 displayName: Prepare unittests and coverage for upload inputs: