Update release download tasks to get artifacts from build stage (#1122)

* Update release download tasks to get artifacts from build stage

* fix paths
This commit is contained in:
Charles Gagnon
2020-11-17 10:57:06 -08:00
committed by GitHub
parent 30d600e423
commit 6e83077fb7

View File

@@ -8,28 +8,22 @@ steps:
- powershell: | - powershell: |
git clone https://$(ado-crossplatbuildscripts-password)@dev.azure.com/mssqltools/_git/CrossPlatBuildScripts git clone https://$(ado-crossplatbuildscripts-password)@dev.azure.com/mssqltools/_git/CrossPlatBuildScripts
displayName: Clone CrossPlatBuildScripts displayName: Clone CrossPlatBuildScripts
- task: DownloadPipelineArtifact@2 - task: DownloadBuildArtifacts@0
displayName: 'Download pipeline source artifacts' displayName: 'Download build source artifacts'
inputs: inputs:
buildType: 'specific' buildType: 'current'
project: 'ae14e11c-7eb2-46af-b588-471e6116d635' downloadType: 'single'
definition: '309'
specificBuildWithTriggering: true
buildVersionToDownload: 'latest'
artifactName: 'source' artifactName: 'source'
itemPattern: '**/source.tar.gz' itemPattern: '**/source.tar.gz'
targetPath: '$(Agent.TempDirectory)/source' downloadPath: '$(Agent.TempDirectory)'
- task: DownloadPipelineArtifact@2 - task: DownloadBuildArtifacts@0
displayName: 'Download pipeline drop artifacts' displayName: 'Download build drop artifacts'
inputs: inputs:
buildType: 'specific' buildType: 'current'
project: 'ae14e11c-7eb2-46af-b588-471e6116d635' downloadType: 'single'
definition: '309'
specificBuildWithTriggering: true
buildVersionToDownload: 'latest'
artifactName: 'drop' artifactName: 'drop'
itemPattern: '**/*' itemPattern: '**/*'
targetPath: '$(Agent.TempDirectory)/drop' downloadPath: '$(Agent.TempDirectory)'
- task: ExtractFiles@1 - task: ExtractFiles@1
displayName: 'Extract source from build' displayName: 'Extract source from build'
inputs: inputs: