From: Jo-Philipp Wich Date: Mon, 6 Feb 2017 12:27:26 +0000 (+0100) Subject: phase2: stop build process on compile failures X-Git-Tag: v1~180 X-Git-Url: http://git.openwrt.org/?p=buildbot.git;a=commitdiff_plain;h=616afc13ed86554e993a72e23f9b0cb0a6a6fdc1 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 --- 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",