diff options
| -rw-r--r-- | azure-pipelines.yml | 2 | ||||
| -rwxr-xr-x | scripts/check_dockerfiles.sh | 3 | 
2 files changed, 2 insertions, 3 deletions
| diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3559031..c5f033d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,7 +5,7 @@ jobs:      displayName: 'Lint & Test'      pool: -      vmImage: 'ubuntu-16.04' +      vmImage: 'ubuntu-18.04'      steps:        - task: ShellScript@2 diff --git a/scripts/check_dockerfiles.sh b/scripts/check_dockerfiles.sh index b1f0e28..53842e2 100755 --- a/scripts/check_dockerfiles.sh +++ b/scripts/check_dockerfiles.sh @@ -1,6 +1,7 @@  #!/usr/bin/env bash  set -euo pipefail +shopt -s inherit_errexit  exec 3>&1 # New file descriptor to stdout  BASE_URL="https://dev.azure.com/\ @@ -13,8 +14,6 @@ repositoryId=${BUILD_REPOSITORY_NAME}&\  api-version=5.0"  get_build() { -    set -e # Poor Ubuntu LTS doesn't have Bash 4.4's inherit_errexit -      local branch="${1:?"get_build: argument 1 'branch' is unset"}"      local url="${BASE_URL}&branchName=${branch}" | 
