This commit is contained in:
Jérôme Laban 2018-09-19 22:44:59 -04:00
Родитель 39b8f54aa6
Коммит 5cba7a16d7
1 изменённых файлов: 17 добавлений и 0 удалений

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

@ -22,3 +22,20 @@ phases:
npm install
make
displayName: 'Run make'
- task: CopyFiles@2
inputs:
SourceFolder: $(build.sourcesdirectory)/dist
Contents: '*.*'
TargetFolder: $(build.artifactstagingdirectory)/dist
CleanTargetFolder: false
OverWrite: false
flattenFolders: false
- task: PublishBuildArtifacts@1
# https://developercommunity.visualstudio.com/content/problem/284991/public-vsts-previouw-cant-set-build-number-of-pr-b.html
condition: eq(variables['System.PullRequest.IsFork'], 'False')
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: drop
ArtifactType: Container