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>
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",