Fixed pipeline
This commit is contained in:
parent
c73029763c
commit
1bea6b2aa5
1 changed files with 12 additions and 11 deletions
|
|
@ -90,7 +90,6 @@ stages:
|
|||
"npx wait-on http://localhost:8080 && npm run test:playwright -- --shard=$(shardNumber)/$(totalShards) --reporter=list,blob --grep \"@smoke | @Advanced\"")
|
||||
|
||||
# Start container and stream logs
|
||||
|
||||
echo "Starting tests for shard $(shardNumber)..."
|
||||
docker start -a $container_id
|
||||
|
||||
|
|
@ -127,8 +126,6 @@ stages:
|
|||
condition: always()
|
||||
|
||||
- job: download_and_merge_reports
|
||||
container:
|
||||
image: mcr.microsoft.com/playwright:v1.48.0-noble
|
||||
dependsOn: playwright_tests
|
||||
timeoutInMinutes: 8
|
||||
cancelTimeoutInMinutes: 10
|
||||
|
|
@ -195,7 +192,7 @@ stages:
|
|||
# inputs:
|
||||
# searchFolder: 'test-results'
|
||||
# testResultsFormat: 'JUnit'
|
||||
# testResultsFiles: 'results.xml'
|
||||
# testResultsFiles: 'junit_results.xml'
|
||||
# mergeTestResults: true
|
||||
# failTaskOnFailedTests: false
|
||||
# testRunTitle: 'Playwright Tests'
|
||||
|
|
@ -208,6 +205,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