Use &&
instead of ;
in Docker pipeline
* In case of error, `&&` does not continue execution
This commit is contained in:
parent
5436273ec7
commit
552f083024
|
@ -73,7 +73,7 @@ if [ "${CONTAINER_EXISTS}" != "" ]; then
|
|||
--volumes-from="${CONTAINER_NAME}" --name "${CONTAINER_NAME}_cont" \
|
||||
pi-gen \
|
||||
bash -e -o pipefail -c "dpkg-reconfigure qemu-user-static &&
|
||||
cd /pi-gen; ./build.sh ${BUILD_OPTS} ;
|
||||
cd /pi-gen; ./build.sh ${BUILD_OPTS} &&
|
||||
rsync -av work/*/build.log deploy/" &
|
||||
wait "$!"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user