зеркало из https://github.com/microsoft/testfx.git
Push symbols to symweb and public server
This commit is contained in:
Родитель
0680ad8b12
Коммит
4752e4c703
|
@ -180,6 +180,7 @@ stages:
|
|||
displayName: 'Publish failed Artifacts folder'
|
||||
inputs:
|
||||
targetPath: artifacts
|
||||
artifact: 'MSTest Fail $(System.JobAttempt)'
|
||||
condition: failed()
|
||||
|
||||
- task: NuGetAuthenticate@0
|
||||
|
@ -221,11 +222,25 @@ stages:
|
|||
Write-Host "Renamed" + $OldName + "to" + $NewName
|
||||
}
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish Symbols Artifact'
|
||||
- task: ms-vscs-artifact.build-tasks.artifactSymbolTask-1.artifactSymbolTask@0
|
||||
displayName: 'Publish Symbols to Artifact Services (symweb)'
|
||||
inputs:
|
||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)/symbols'
|
||||
ArtifactName: Symbols
|
||||
symbolServiceURI: 'https://microsoft.artifacts.visualstudio.com/DefaultCollection'
|
||||
requestName: '$(system.teamProject)/$(Build.DefinitionName)/$(Build.BuildNumber)/$(System.JobAttempt)'
|
||||
sourcePath: '$(Build.ArtifactStagingDirectory)/symbols'
|
||||
expirationInDays: 3654
|
||||
usePat: false
|
||||
append: false
|
||||
|
||||
- task: ms-vscs-artifact.build-tasks.artifactSymbolTask-1.artifactSymbolTask@0
|
||||
displayName: 'Publish Symbols to Artifact Services (public)'
|
||||
inputs:
|
||||
symbolServiceURI: 'https://microsoftpublicsymbols.artifacts.visualstudio.com/DefaultCollection'
|
||||
requestName: '$(system.teamProject)/$(Build.DefinitionName)/$(Build.BuildNumber)/$(System.JobAttempt)'
|
||||
sourcePath: '$(Build.ArtifactStagingDirectory)/symbols'
|
||||
expirationInDays: 3654
|
||||
usePat: false
|
||||
append: false
|
||||
|
||||
- ${{ if eq(variables._RunAsInternal, True) }}:
|
||||
- template: /eng/common/templates/job/onelocbuild.yml
|
||||
|
|
Загрузка…
Ссылка в новой задаче