Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Jared Jacobson 2021-09-13 10:44:55 +10:00
parent 00f8eddf8a
commit 43894bee6d

View file

@ -16,16 +16,22 @@ variables:
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code
steps: steps:
# - task: CmdLine@2
# displayName: 'List all directories'
# inputs:
# script: |
# echo "Structure of work folder of this pipeline:"
# tree $(Agent.WorkFolder) /f
# echo "Build.ArtifactStagingDirectory:"
# echo "$(Build.ArtifactStagingDirectory)"
# echo "Build.BinariesDirectory:"
# echo "$(Build.BinariesDirectory)"
# echo "Build.SourcesDirectory:"
# echo "$(Build.SourcesDirectory)"
# tree $(Build.SourcesDirectory) /f
- task: CmdLine@2 - task: CmdLine@2
displayName: 'List all directories' name: Build
inputs: inputs:
script: | workingDirectory: '$(Build.SourcesDirectory)'
echo "Structure of work folder of this pipeline:" script: './build.sh'
tree $(Agent.WorkFolder) /f
echo "Build.ArtifactStagingDirectory:"
echo "$(Build.ArtifactStagingDirectory)"
echo "Build.BinariesDirectory:"
echo "$(Build.BinariesDirectory)"
echo "Build.SourcesDirectory:"
echo "$(Build.SourcesDirectory)"
tree $(Build.SourcesDirectory) /f