Skip to content

Commit 83f7a14

Browse files
classabbyampDuncaen
authored andcommitted
services/nomad/build/buildbot: cleanup fixes
rm -f to handle builds where no packages were built disable PTY to prevent a race with stdin closing
1 parent 4c25ff9 commit 83f7a14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎services/nomad/build/buildbot.cfg‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ esac
280280

281281
@util.renderer
282282
def make_clean_cmd(props):
283-
return ['rm', '-vr', util.Interpolate('/hostdir/binpkgs/%(prop:target)s-%(prop:buildnumber)s')]
283+
return ['rm', '-vrf', util.Interpolate('/hostdir/binpkgs/%(prop:target)s-%(prop:buildnumber)s')]
284284

285285

286286
@util.renderer
@@ -411,7 +411,7 @@ factory.addStep(steps.ShellCommand(
411411
descriptionDone='cleaned packages from hostdir',
412412
alwaysRun=True,
413413
logEnviron=False,
414-
usePTY=True,
414+
usePTY=False,
415415
workdir='.',
416416
timeout=14400,
417417
))

0 commit comments

Comments
 (0)