From: Jo-Philipp Wich Date: Fri, 4 Nov 2016 15:45:31 +0000 (+0100) Subject: phase1: always allow user clean targets X-Git-Tag: v1~237 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d2d7740812e23e360754e65380d4bf5cd85b98da;p=buildbot.git phase1: always allow user clean targets Also allow user clean targets if a tree expiry has been configured. Signed-off-by: Jo-Philipp Wich --- diff --git a/phase1/master.cfg b/phase1/master.cfg index f92a080..4014c20 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -250,14 +250,13 @@ for target in targets: timeout = 2400)) # user-requested clean targets - else: - for tuple in CleanTargetMap: - factory.addStep(ShellCommand( - name = tuple[1], - description = 'User-requested "make %s"' % tuple[1], - command = ["make", tuple[1], "V=s"], - doStepIf = IsCleanRequested(tuple[0]) - )) + for tuple in CleanTargetMap: + factory.addStep(ShellCommand( + name = tuple[1], + description = 'User-requested "make %s"' % tuple[1], + command = ["make", tuple[1], "V=s"], + doStepIf = IsCleanRequested(tuple[0]) + )) # check out the source factory.addStep(Git(repourl=repo_url, mode='update'))