diff --git a/.azure-pipelines-templates/configure.yml b/.azure-pipelines-templates/configure.yml index 9169a050eba0..3d69ee02c1f6 100644 --- a/.azure-pipelines-templates/configure.yml +++ b/.azure-pipelines-templates/configure.yml @@ -10,6 +10,7 @@ jobs: - checkout: self clean: true - script: | + set -ex echo "Determine if any code has changed." if git diff --ignore-submodules=dirty --quiet origin/${SYSTEM_PULLREQUEST_TARGETBRANCH:-origin/main} -- ':!doc' ':!*.md' ':!scripts/azure_deployment'; then echo " - Documentation change only" diff --git a/.azure-pipelines-templates/deploy_aci.yml b/.azure-pipelines-templates/deploy_aci.yml index 31cfe1dc602b..aea955b32b1b 100644 --- a/.azure-pipelines-templates/deploy_aci.yml +++ b/.azure-pipelines-templates/deploy_aci.yml @@ -33,6 +33,7 @@ jobs: fetchTags: true - script: | + set -ex env name: print_env displayName: "Print Environment Variables" diff --git a/.azure-pipelines-templates/scan_build.yml b/.azure-pipelines-templates/scan_build.yml index b7016b6552e3..a01fe97209c8 100644 --- a/.azure-pipelines-templates/scan_build.yml +++ b/.azure-pipelines-templates/scan_build.yml @@ -1,5 +1,6 @@ steps: - script: | + set -ex mkdir build cd build ../scripts/scan-build.sh diff --git a/.azure-pipelines-templates/trace_validation.yml b/.azure-pipelines-templates/trace_validation.yml index ba2173d3fb2c..e5c178e75b0c 100644 --- a/.azure-pipelines-templates/trace_validation.yml +++ b/.azure-pipelines-templates/trace_validation.yml @@ -7,7 +7,7 @@ steps: displayName: "Install TLA dependencies" - script: | - set -x + set -ex cd tla/ JSON=../build/replicate.ndjson ./tlc.sh Traceccfraft.tla 2>&1 JSON=../build/election.ndjson ./tlc.sh Traceccfraft.tla 2>&1