From 6c603bac02cff3f3040f2e58e7bb06103d5c4879 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 2 Apr 2019 12:01:12 +0200 Subject: [PATCH] docker/rebuild_osmocom_jenkins_image.sh: set -e Exit with error if one of the docker commands is failing (i.e. don't exit with 0 when building the jessie image failed, but the stretch image got built properly). Change-Id: I6faaf9303b4facb0965131615bc73541dd309c51 --- docker/rebuild_osmocom_jenkins_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rebuild_osmocom_jenkins_image.sh b/docker/rebuild_osmocom_jenkins_image.sh index 6cf2f159..c4e3b10e 100755 --- a/docker/rebuild_osmocom_jenkins_image.sh +++ b/docker/rebuild_osmocom_jenkins_image.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # Executes docker build with the given parameters and retry in case of error. function build_once() {