[buildbot] phase2: stop build process on compile failures

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 6 04:30:31 PST 2017


jow pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/616afc13ed86554e993a72e23f9b0cb0a6a6fdc1

commit 616afc13ed86554e993a72e23f9b0cb0a6a6fdc1
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Mon Feb 6 13:27:26 2017 +0100

    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 <jo at mein.io>
---
 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",



More information about the lede-commits mailing list