Fail more steps if a command fails in vmr-build.yml (#18595)

This commit is contained in:
Alexander Köplinger 2024-02-09 17:36:57 +01:00 committed by GitHub
parent e83a99a675
commit dc517e0cf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"