phase2: report disk usage at end of build
authorJo-Philipp Wich <jo@mein.io>
Mon, 17 Jun 2019 13:19:23 +0000 (15:19 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 17 Jun 2019 13:19:23 +0000 (15:19 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase2/master.cfg

index 74f124aa2ebcf7806ba84a7e9bf8724c1d16a4c8..1f36cac9665ac95a029c97b984bf6a7d75391dd5 100644 (file)
@@ -471,6 +471,15 @@ for arch in arches:
                        logEnviron = False
                ))
 
+       factory.addStep(ShellCommand(
+               name = "df",
+               description = "Reporting disk usage",
+               command=["df", "-h", "."],
+               env={'LC_ALL': 'C'},
+               haltOnFailure = False,
+               alwaysRun = True
+       ))
+
        from buildbot.config import BuilderConfig
 
        c['builders'].append(BuilderConfig(name=arch[0], slavenames=slaveNames, factory=factory))