mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Check userscriptfail *for each device*. Exit immediately if true
This commit is contained in:
parent
5b66b04504
commit
eb1b7fa107
@ -408,6 +408,11 @@ for codename in ${devices//,/ }; do
|
|||||||
echo ">> [$(date)] Error: post-build.sh failed for $codename on $branch!"; userscriptfail=true; }
|
echo ">> [$(date)] Error: post-build.sh failed for $codename on $branch!"; userscriptfail=true; }
|
||||||
fi
|
fi
|
||||||
echo ">> [$(date)] Finishing build for $codename" | tee -a "$DEBUG_LOG"
|
echo ">> [$(date)] Finishing build for $codename" | tee -a "$DEBUG_LOG"
|
||||||
|
|
||||||
do_cleanup
|
do_cleanup
|
||||||
|
if [ $userscriptfail = true ]; then
|
||||||
|
echo ">> [$(date)] One or more userscripts failed!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user