ci: cleanup containers post e2e job

This commit is contained in:
Jens Langhammer 2020-09-16 09:08:10 +02:00
parent ea9687c30b
commit 97b8a025b3

View file

@ -181,7 +181,14 @@ stages:
- task: CmdLine@2 - task: CmdLine@2
displayName: Run full test suite displayName: Run full test suite
inputs: 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 - task: CmdLine@2
displayName: Prepare unittests and coverage for upload displayName: Prepare unittests and coverage for upload
inputs: inputs: