From c8f32a07ffb57f4ecf145f70f2b1bec89e584098 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Sat, 18 May 2019 11:02:58 -0400 Subject: [PATCH] Change variable format in bash --- .ci/azure-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/azure-build.yml b/.ci/azure-build.yml index e4a0b898..ef0a9eaf 100644 --- a/.ci/azure-build.yml +++ b/.ci/azure-build.yml @@ -23,7 +23,9 @@ steps: #overWrite: false # Optional #flattenFolders: false # Optional # Create a variable for build success -- bash: ls ${BUILD.ARTIFACTSTAGINGDIRECTORY} +- bash: ls ${ARTIFACT_STAGING_DIRECTORY} + env: + ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)) - pwsh: if( (Get-ChildItem $(Build.ArtifactStagingDirectory) | Measure-Object).Count -eq 0) { echo '##vso[task.setvariable variable=buildSuccess]false' } else { echo '##vso[task.setvariable variable=buildSuccess]true' } # delete the release if it already exists to avoid an error - task: GitHubRelease@0