phase2: stop build process on compile failures
authorJo-Philipp Wich <jo@mein.io>
Mon, 6 Feb 2017 12:27:26 +0000 (13:27 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 6 Feb 2017 12:27:34 +0000 (13:27 +0100)
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@mein.io>
phase2/master.cfg

index e1a81ebe5be5d0ea4b60d1253fc62abccf1638df..c46de83fe0a27755a7819d73f28b31a9781e3955 100644 (file)
@@ -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",