Fixed pipeline

This commit is contained in:
Chase King 2025-03-05 10:08:12 -05:00
parent c73029763c
commit 1bea6b2aa5

View file

@ -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