Added removal step
This commit is contained in:
parent
d124fe8a81
commit
19c180a55c
1 changed files with 7 additions and 0 deletions
|
|
@ -169,6 +169,9 @@ stages:
|
|||
# Remove container
|
||||
echo "Cleaning up container..."
|
||||
docker rm $container_id
|
||||
|
||||
# TODO: REMOVE Delete all playwright containers
|
||||
docker rmi $(docker images | grep "playwright-tests")
|
||||
env:
|
||||
JIRA_API_KEY: $(JIRA_API_KEY)
|
||||
PLAYWRIGHT_JUNIT_OUTPUT_FILE: "test-results/results.xml"
|
||||
|
|
@ -193,6 +196,10 @@ stages:
|
|||
targetPath: '$(System.DefaultWorkingDirectory)/ortoni-report'
|
||||
artifact: 'playwright-merged-report'
|
||||
publishLocation: 'pipeline'
|
||||
- script: |
|
||||
docker rmi $(dockerImageName):$(imageTag) -f
|
||||
displayName: 'Cleanup Docker Image'
|
||||
condition: always()
|
||||
|
||||
- ${{ else }}:
|
||||
# Dev Build/Deploy
|
||||
|
|
|
|||
Loading…
Reference in a new issue