Skip to content

Commit

Permalink
user Build ArtifactStagingDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Jan 29, 2020
1 parent 1b9db7c commit 0d71d05
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/build/jobs/sandbox-uitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,26 @@ jobs:
displayName: Download UI Test Project
inputs:
artifactName: XamarinUITests
targetPath: '$(Pipeline.Workspace)'
targetPath: '$(Build.ArtifactStagingDirectory)'
- task: DownloadPipelineArtifact@2
displayName: Download ${{ parameters.artifactName }}
inputs:
artifactName: ${{ parameters.artifactName }}
targetPath: '$(Pipeline.Workspace)'
targetPath: '$(Build.ArtifactStagingDirectory)'

- powershell: |
Write-Host "Pipeline Workspace: $($env:PIPELINE_WORKSPACE)"
cd $env:PIPELINE_WORKSPACE
Write-Host "Pipeline Workspace: $($env:BUILD_ARTIFACTSTAGINGDIRECTORY)"
cd $env:BUILD_ARTIFACTSTAGINGDIRECTORY
Get-ChildItem . -Recurse | ForEach-Object -Process { $_.FullName }
displayName: List Artifacts
- task: AppCenterTest@1
displayName: 'Run UI Tests ${{ parameters.artifactName }} with App Center'
inputs:
appFile: $(Pipeline.Workspace)/${{ parameters.appFile }}
appFile: $(Build.ArtifactStagingDirectory)/${{ parameters.appFile }}
frameworkOption: uitest
uiTestBuildDirectory: $(Pipeline.Workspace)
uiTestToolsDirectory: '$(System.DefaultWorkingDirectory)/Source/build/tools/'
uiTestBuildDirectory: $(Build.ArtifactStagingDirectory)
uiTestToolsDirectory: $(System.DefaultWorkingDirectory)\Source\build\tools\
serverEndpoint: 'Prism-AppCenter'
appSlug: 'Prism/${{ parameters.appName }}'
devices: ${{ parameters.devices }}
Expand Down

0 comments on commit 0d71d05

Please sign in to comment.