Skip to content

Commit

Permalink
Add unique identifier to e2e_test_logs artifacts in react-native-ci.y…
Browse files Browse the repository at this point in the history
…ml (#20472)

### Description
<!-- Describe your changes. -->

As title.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
  • Loading branch information
YUNQIUGUO authored Apr 26, 2024
1 parent b842eff commit 88904b9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tools/ci_build/github/azure-pipelines/templates/react-native-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,13 +347,6 @@ stages:
condition: succeededOrFailed()
displayName: Publish React Native Detox iOS e2e Test Results

- task: PublishPipelineArtifact@1
inputs:
artifact: e2e_test_logs
targetPath: '$(Build.SourcesDirectory)/js/react_native/e2e/artifacts'
condition: succeededOrFailed()
displayName: Publish React Native Detox E2E test logs

- script: |
git restore .
workingDirectory: '$(Build.SourcesDirectory)/js'
Expand Down Expand Up @@ -381,14 +374,21 @@ stages:
targetFolder: $(Build.ArtifactStagingDirectory)
displayName: Create Artifacts onnxruntime-react-native

- template: component-governance-component-detection-steps.yml
parameters :
condition : 'succeeded'

- task: PublishPipelineArtifact@1
inputs:
artifact: e2e_test_logs_$(Build.BuildId)_$(Date:yyyyMMddHHmmss)
targetPath: '$(Build.SourcesDirectory)/js/react_native/e2e/artifacts'
condition: succeededOrFailed()
displayName: Publish React Native Detox E2E test logs

- task: PublishPipelineArtifact@0
inputs:
artifactName: '${{parameters.PackageName}}'
targetPath: '$(Build.ArtifactStagingDirectory)'
displayName: Publish Pipeline Artifact

- template: component-governance-component-detection-steps.yml
parameters :
condition : 'succeeded'

- template: explicitly-defined-final-tasks.yml

0 comments on commit 88904b9

Please sign in to comment.