From 43894bee6d6e421f40e31543d6b16ce995c6ab02 Mon Sep 17 00:00:00 2001 From: Jared Jacobson <71237599+jaredjn@users.noreply.github.com> Date: Mon, 13 Sep 2021 10:44:55 +1000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2b7a0fb21..876ef9f29 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,16 +16,22 @@ variables: modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code 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 - displayName: 'List all directories' + name: Build 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 + workingDirectory: '$(Build.SourcesDirectory)' + script: './build.sh' \ No newline at end of file