From 616afc13ed86554e993a72e23f9b0cb0a6a6fdc1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 6 Feb 2017 13:27:26 +0100 Subject: [PATCH] phase2: stop build process on compile failures Do not proceed the build if package/compile failed in order to prevent breaking the live repositories. Since aborts in this phase usually happen due to out-of-space or other unrecoverable issues, it makes no sense to continue processing the partially finished build artifacts. Signed-off-by: Jo-Philipp Wich --- phase2/master.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phase2/master.cfg b/phase2/master.cfg index e1a81eb..c46de83 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -324,7 +324,8 @@ for arch in arches: workdir = "build/sdk", timeout = 3600, command = ["make", WithProperties("-j%(jobs)d", jobs=GetNumJobs), "IGNORE_ERRORS=n m y", "BUILD_LOG=1", "CONFIG_SIGNED_PACKAGES=y", "CONFIG_AUTOREMOVE=y"], - env = {'CCACHE_BASEDIR': WithProperties("%(cwd)s", cwd=GetCwd)})) + env = {'CCACHE_BASEDIR': WithProperties("%(cwd)s", cwd=GetCwd)}, + haltOnFailure = True)) factory.addStep(ShellCommand( name = "mkfeedsconf", -- 2.30.2