[CI][VSTS] Ensure that xharness creates an index with the correct uris. (#10345)

The prefix of the location of the logs depends on the platform where it
was executed (else we step on them) but that was not added in the env
var use by xharness.

fixes: https://github.com/xamarin/maccore/issues/2349
This commit is contained in:
Manuel de la Pena 2021-01-06 15:33:57 -05:00 коммит произвёл GitHub
Родитель 1e78a9de6a
Коммит 30f0010184
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -215,7 +215,7 @@ steps:
WORKING_DIR: $(System.DefaultWorkingDirectory) WORKING_DIR: $(System.DefaultWorkingDirectory)
TESTS_EXTRA_ARGUMENTS: ${{ parameters.testsLabels }} TESTS_EXTRA_ARGUMENTS: ${{ parameters.testsLabels }}
USE_XAMARIN_STORAGE: ${{ parameters.useXamarinStorage }} USE_XAMARIN_STORAGE: ${{ parameters.useXamarinStorage }}
VSDROPS_URI: '${{ parameters.vsdropsPrefix }}/$(Build.BuildNumber)/$(Build.BuildId);/tests/' # uri used to create the vsdrops index using full uri VSDROPS_URI: '${{ parameters.vsdropsPrefix }}/$(Build.BuildNumber)/$(Build.BuildId)/${{ parameters.devicePrefix }};/tests/' # uri used to create the vsdrops index using full uri
USE_TCP_TUNNEL: 'true' USE_TCP_TUNNEL: 'true'
displayName: 'Run tests' displayName: 'Run tests'
name: runTests # not to be confused with the displayName, this is used to later use the name of the step to access the output variables from an other job name: runTests # not to be confused with the displayName, this is used to later use the name of the step to access the output variables from an other job

Просмотреть файл

@ -400,7 +400,7 @@ steps:
env: env:
BUILD_REVISION: jenkins BUILD_REVISION: jenkins
TARGET: 'wrench-jenkins' TARGET: 'wrench-jenkins'
VSDROPS_URI: '${{ parameters.vsdropsPrefix }}/$(Build.BuildNumber)/$(Build.BuildId);/tests/' # uri used to create the vsdrops index using full uri VSDROPS_URI: '${{ parameters.vsdropsPrefix }}/$(Build.BuildNumber)/$(Build.BuildId)/sim;/tests/' # uri used to create the vsdrops index using full uri
# Upload TestSummary as an artifact. # Upload TestSummary as an artifact.
- task: PublishPipelineArtifact@1 - task: PublishPipelineArtifact@1