DBZ-5212 Add set -e to bash scripts used in our jobs
This commit is contained in:
parent
115e2b1e85
commit
565ccdd6a4
@ -1,4 +1,5 @@
|
||||
#! /usr/bin/env bash
|
||||
set -e
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
COPY_IMAGES=true
|
||||
REGISTRY="quay.io"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#! /usr/bin/env bash
|
||||
set -e
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
DOCKER_FILE=${DIR}/../docker/rhel_kafka/Dockerfile
|
||||
PLUGIN_DIR="plugins"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
set -e
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
COPY_IMAGES=true
|
||||
REGISTRY="quay.io"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
DOCKER_FILE=${DIR}/../docker/artifact-server/Dockerfile
|
||||
PLUGIN_DIR="plugins"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
DOCKER_FILE=${DIR}/../docker/artifact-server/Dockerfile
|
||||
PLUGIN_DIR="plugins"
|
||||
|
@ -1,10 +1,9 @@
|
||||
#! /usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
DOCKER_FILE=${DIR}/../docker/Dockerfile.Strimzi
|
||||
PLUGIN_DIR="plugins"
|
||||
|
||||
|
||||
OPTS=$(getopt -o d:f:r:o:t:a: --long dir:,dockerfile:,registry:,organisation:,tags:,auto-tag:,kc-base-tag:,kafka-version:,apicurio-version:,dest-login:,dest-pass:,img-output:,oracle-included:,maven-repo: -n 'parse-options' -- "$@")
|
||||
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi
|
||||
eval set -- "$OPTS"
|
||||
|
Loading…
Reference in New Issue
Block a user