Update azure-pipelines.yml for Azure Pipelines

Added first archive test
This commit is contained in:
Thomas 2020-02-08 04:32:39 +00:00
parent 81d9706830
commit 3a38f8d77f

View File

@ -21,3 +21,25 @@ steps:
npm install
ionic build --prod
displayName: 'npm install and build'
# Archive files
# Compress files into .7z, .tar.gz, or .zip
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.BinariesDirectory)/www/'
includeRootFolder: true
archiveType: 'tar'
archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
replaceExistingArchive: true
verbose: true
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.BinariesDirectory)/www/'
# includeRootFolder: true
archiveType: 'tar' # Options: zip, 7z, tar, wim
tarCompression: 'gz' # Optional. Options: gz, bz2, xz, none
#archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
#replaceExistingArchive: true
verbose: true # Optional
#quiet: # Optional