Skip to content

Commit

Permalink
squash!pipeline(precompile): enable pipefail as we use tee to log and…
Browse files Browse the repository at this point in the history
… display bosh export-release result
  • Loading branch information
o-orand committed Aug 7, 2023
1 parent fd24939 commit 772da20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ jobs:
args:
- -ec
- |
set -o pipefail
STEMCELL_INFO=$(bosh inspect-local-stemcell --json stemcell/*.tgz | jq '.Tables|.[0]|.Rows|.[0]')
export STEMCELL_OS=$(echo ${STEMCELL_INFO} | jq -r '.["os"]')
export STEMCELL_VERSION=$(echo ${STEMCELL_INFO} | jq -r '.["version"]')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ jobs:
args:
- -ec
- |
set -o pipefail
STEMCELL_INFO=$(bosh inspect-local-stemcell --json stemcell/*.tgz | jq '.Tables|.[0]|.Rows|.[0]')
export STEMCELL_OS=$(echo ${STEMCELL_INFO} | jq -r '.["os"]')
export STEMCELL_VERSION=$(echo ${STEMCELL_INFO} | jq -r '.["version"]')
Expand Down Expand Up @@ -469,6 +470,7 @@ jobs:
args:
- -ec
- |
set -o pipefail
STEMCELL_INFO=$(bosh inspect-local-stemcell --json stemcell/*.tgz | jq '.Tables|.[0]|.Rows|.[0]')
export STEMCELL_OS=$(echo ${STEMCELL_INFO} | jq -r '.["os"]')
export STEMCELL_VERSION=$(echo ${STEMCELL_INFO} | jq -r '.["version"]')
Expand Down

0 comments on commit 772da20

Please sign in to comment.