
When pipe is added to command, it should still exit with its result code, so save it by setting pipeline option before each command. Close-Bug: #1676156 Change-Id: Ibbe49b4a15a5b7825447a563fe35af85fd48b3ff
7 lines
168 B
YAML
7 lines
168 B
YAML
---
|
|
- name: Run sanity checks
|
|
shell: >
|
|
set -o pipefail &&
|
|
{{ working_dir }}/validate-sanity-check.sh 2>&1 {{ timestamper_cmd }} >
|
|
{{ sanity_checks_log }}
|