if tree_expire > 0:
factory.addStep(FileDownload(
mastersrc = "expire.sh",
- slavedest = "expire.sh",
+ slavedest = "../expire.sh",
mode = 0755))
factory.addStep(ShellCommand(
name = "expire",
description = "Checking for build tree expiry",
- command = ["./expire.sh", tree_expire],
+ command = ["./expire.sh", str(tree_expire)],
workdir = ".",
haltOnFailure = True,
timeout = 2400))