Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KangxuanYe committed May 8, 2024
1 parent 7f7039b commit 7ffb512
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/yaml-templates/ios-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ steps:
condition: always()

- bash: |
cp ~/Library/Developer/Xcode/DerivedData/metaos-hub-sdk*/Logs/Test/*.junit /Users/runner/work/1/s/iOSHost
cp ~/Library/Developer/Xcode/DerivedData/$(AppHostingSdkProjectDirectory)*/Logs/Test/*.junit /Users/runner/work/1/s/iOSHost
displayName: Copy Junit File
condition: succeededOrFailed()
Expand All @@ -109,7 +109,7 @@ steps:
testResultsFiles: '**/*.junit'
failTaskOnFailedTests: false
testRunTitle: 'E2E Tests - $(agent.JobName)'
searchFolder: iOSHost
searchFolder: /Users/runner/work/1/s/iOSHost
mergeTestResults: true
condition: succeededOrFailed()

Expand All @@ -119,8 +119,8 @@ steps:
mkdir -p "${output}"
cp ~/Library/Developer/Xcode/DerivedData/metaos-hub-sdk*/Logs/Test/index.html "${output}/index.html"
cp -r ~/Library/Developer/Xcode/DerivedData/metaos-hub-sdk*/Logs/Test/*.xcresult "${output}/output.xcresult"
cp ~/Library/Developer/Xcode/DerivedData/$(AppHostingSdkProjectDirectory)*/Logs/Test/index.html "${output}/index.html"
cp -r ~/Library/Developer/Xcode/DerivedData/$(AppHostingSdkProjectDirectory)*/Logs/Test/*.xcresult "${output}/output.xcresult"
echo "ls -lR ${output}"
ls -lR "${output}"
Expand All @@ -130,5 +130,5 @@ steps:
- task: 1ES.PublishPipelineArtifact@1
inputs:
path: '$(agent.buildDirectory)/Logs'
artifact: iOSDebugLogs - ${{ parameters.testPlan }} -$(System.JobAttempt)
artifact: iOSDebugLogs - ${{ parameters.testPlan }} - Attempt $(System.JobAttempt)
condition: always()

0 comments on commit 7ffb512

Please sign in to comment.