mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user