From dc517e0cf629fba9112b54898c946ac5bceb1279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Fri, 9 Feb 2024 17:36:57 +0100 Subject: [PATCH] Fail more steps if a command fails in vmr-build.yml (#18595) --- eng/pipelines/templates/jobs/vmr-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/templates/jobs/vmr-build.yml b/eng/pipelines/templates/jobs/vmr-build.yml index 4dceb0524646..908ca813945a 100644 --- a/eng/pipelines/templates/jobs/vmr-build.yml +++ b/eng/pipelines/templates/jobs/vmr-build.yml @@ -213,7 +213,7 @@ jobs: - ${{ else }}: - ${{ if eq(parameters.buildSourceOnly, 'true') }}: - script: | - set -x + set -ex customPrepArgs="" prepSdk=true @@ -245,7 +245,7 @@ jobs: displayName: Prep the Build - script: | - set -x + set -ex df -h customEnvVars="" @@ -316,7 +316,7 @@ jobs: # Only run tests if enabled - ${{ if eq(parameters.runTests, 'True') }}: - script: | - set -x + set -ex dockerVolumeArgs="-v $(sourcesPath):/vmr" dockerEnvArgs="-e SMOKE_TESTS_EXCLUDE_OMNISHARP=${{ parameters.excludeOmniSharpTests }} -e SMOKE_TESTS_WARN_SDK_CONTENT_DIFFS=true -e SMOKE_TESTS_RUNNING_IN_CI=true"