Skip to content

Commit

Permalink
Add test logging to diagnose a failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mthalman committed Feb 4, 2025
1 parent d81a2e5 commit b7b62eb
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions eng/common/templates/steps/test-images-linux-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,9 @@ steps:
artifactName: image-info
condition: ${{ parameters.condition }}
- template: /eng/common/templates/steps/parse-test-arg-arrays.yml@self
- powershell: >
$(test.init);
docker exec
$(testRunner.options)
$(testRunner.container)
pwsh
-Command "$(testScriptPath)
-Paths $(imageBuilderPathsArrayInitStr)
-OSVersions $(osVersionsArrayInitStr)
-Architecture '$(architecture)'
$(additionalTestArgs)"
- powershell: |
echo $(test.init); docker exec $(testRunner.options) $(testRunner.container) pwsh -Command "$(testScriptPath) -Paths $(imageBuilderPathsArrayInitStr) -OSVersions $(osVersionsArrayInitStr) -Architecture '$(architecture)' $(additionalTestArgs)"
$(test.init); docker exec $(testRunner.options) $(testRunner.container) pwsh -Command "$(testScriptPath) -Paths $(imageBuilderPathsArrayInitStr) -OSVersions $(osVersionsArrayInitStr) -Architecture '$(architecture)' $(additionalTestArgs)"
displayName: Test Images
condition: and(succeeded(), ${{ parameters.condition }})
- ${{ if and(eq(variables['System.TeamProject'], parameters.internalProjectName), ne(variables['Build.Reason'], 'PullRequest')) }}:
Expand Down

0 comments on commit b7b62eb

Please sign in to comment.