Change in osmo-ci[master]: docker/rebuild_osmocom_jenkins_image.sh: set -e

osmith gerrit-no-reply at lists.osmocom.org
Wed Apr 3 07:04:49 UTC 2019


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/13487 )

Change subject: docker/rebuild_osmocom_jenkins_image.sh: set -e
......................................................................

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
---
M docker/rebuild_osmocom_jenkins_image.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  osmith: Verified
  Harald Welte: Looks good to me, approved



diff --git a/docker/rebuild_osmocom_jenkins_image.sh b/docker/rebuild_osmocom_jenkins_image.sh
index 6cf2f15..c4e3b10 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() {

-- 
To view, visit https://gerrit.osmocom.org/13487
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6faaf9303b4facb0965131615bc73541dd309c51
Gerrit-Change-Number: 13487
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Daniel Willmann <dwillmann at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190403/93a4a994/attachment.html>


More information about the gerrit-log mailing list