From f3090ce80f05a88e588d9e9283bf5134367b198b Mon Sep 17 00:00:00 2001 From: Shengjing Zhu Date: Wed, 8 Jan 2020 13:50:20 +0800 Subject: [PATCH] ci: set pipefail in zuul script Otherwise the exit code is always 0 Signed-off-by: Shengjing Zhu --- .zuul/playbooks/containerd-build/run.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.zuul/playbooks/containerd-build/run.yaml b/.zuul/playbooks/containerd-build/run.yaml index b436df204..7651c7753 100644 --- a/.zuul/playbooks/containerd-build/run.yaml +++ b/.zuul/playbooks/containerd-build/run.yaml @@ -8,6 +8,7 @@ shell: cmd: | set -xe + set -o pipefail apt-get update apt-get install -y btrfs-tools libseccomp-dev git pkg-config