This should prevent persistent slaves from re-uploading stale error logs.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
factory.addStep(ShellCommand(
name = "logclear",
- description = "Clearing failure log list",
+ description = "Clearing failure logs",
workdir = "build/sdk",
- command = ["rm", "-f", "logs/package/error.txt"],
+ command = ["rm", "-rf", "logs/package/error.txt", "faillogs/"],
haltOnFailure = False
))