Update azure-pipelines.yml for Azure Pipelines

List files
This commit is contained in:
Thomas 2020-02-08 05:07:27 +00:00
parent cd6f331be1
commit e046468bb2

View File

@ -26,19 +26,22 @@ steps:
inputs:
script: |
pwd
ls -la
echo $(Build.BinariesDirectory)
ls -la $(Build.BinariesDirectory)
echo $(Build.ArtifactStagingDirectory)
ls -la$(Build.ArtifactStagingDirectory)
ls -R ~
# Archive files
# Compress files into .7z, .tar.gz, or .zip
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/www'
# includeRootFolder: true
archiveType: 'tar' # Options: zip, 7z, tar, wim
tarCompression: 'gz' # Optional. Options: gz, bz2, xz, none
archiveFile: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz'
#replaceExistingArchive: true
verbose: true # Optional
#quiet: # Optional
# # Archive files
# # Compress files into .7z, .tar.gz, or .zip
# - task: ArchiveFiles@2
# inputs:
# rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/www'
# # includeRootFolder: true
# archiveType: 'tar' # Options: zip, 7z, tar, wim
# tarCompression: 'gz' # Optional. Options: gz, bz2, xz, none
# archiveFile: '$(Build.ArtifactStagingDirectory)/target-www.tar.gz'
# #replaceExistingArchive: true
# verbose: true # Optional
# #quiet: # Optional