[buildbot] phase2: abort if ccache or dl/ setup failed

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 6 06:55:41 PST 2017


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

commit 0b7a8028b4ab48bfde3de1d9f4492de0659ea5a8
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Wed Dec 6 15:55:21 2017 +0100

    phase2: abort if ccache or dl/ setup failed
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 phase2/master.cfg | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/phase2/master.cfg b/phase2/master.cfg
index 49e8e76..fc9f638 100644
--- a/phase2/master.cfg
+++ b/phase2/master.cfg
@@ -303,7 +303,8 @@ for arch in arches:
 	factory.addStep(ShellCommand(
 		name = "mkdldir",
 		description = "Preparing download directory",
-		command = ["sh", "-c", "mkdir -p $HOME/dl && rm -rf ./sdk/dl && ln -sf $HOME/dl ./sdk/dl"]))
+		command = ["sh", "-c", "mkdir -p $HOME/dl && rm -rf ./sdk/dl && ln -sf $HOME/dl ./sdk/dl"],
+		haltOnFailure = True))
 
 	factory.addStep(ShellCommand(
 		name = "mkconf",
@@ -320,7 +321,8 @@ for arch in arches:
 		name = "prepccache",
 		description = "Preparing ccache",
 		workdir = "build/sdk",
-		command = ["./ccache.sh"]))
+		command = ["./ccache.sh"],
+		haltOnFailure = True))
 
 	factory.addStep(ShellCommand(
 		name = "updatefeeds",



More information about the lede-commits mailing list