mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
don't try to build when breakfast fails
This commit is contained in:
parent
aa76bf1dca
commit
47c6f281f8
@ -322,7 +322,12 @@ for branch in ${BRANCH_NAME//,/ }; do
|
||||
|
||||
set +eu
|
||||
breakfast "$codename" "$BUILD_TYPE" &>> "$DEBUG_LOG"
|
||||
breakfast_returncode=$?
|
||||
set -eu
|
||||
if [ $breakfast_returncode -ne 0 ]; then
|
||||
echo ">> [$(date)] breakfast failed for $codename, $branch branch" | tee -a "$DEBUG_LOG"
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ -f /root/userscripts/pre-build.sh ]; then
|
||||
echo ">> [$(date)] Running pre-build.sh for $codename" >> "$DEBUG_LOG"
|
||||
|
Loading…
Reference in New Issue
Block a user