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