From d132db8e962adc9cd31214b4f5713fcde37476d5 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 11 Jan 2017 21:45:25 -0800 Subject: [PATCH] export errors Signed-off-by: Jess Frazelle --- build-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-all.sh b/build-all.sh index 9e3f036..5fe2f43 100755 --- a/build-all.sh +++ b/build-all.sh @@ -6,6 +6,8 @@ SCRIPT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[ REPO_URL="${REPO_URL:-r.j3ss.co}" JOBS=${JOBS:-2} +ERRORS="$(pwd)/errors" + build_and_push(){ base=$1 suite=$2 @@ -63,8 +65,6 @@ main(){ files=( $(find . -iname '*Dockerfile' | sed 's|./||' | sort) ) unset IFS - ERRORS="$(pwd)/errors" - # build all dockerfiles echo "Running in parallel with ${JOBS} jobs." parallel --tag --verbose --ungroup -j"${JOBS}" $SCRIPT dofile "{1}" ::: "${files[@]}"