Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use ShellCommand to timeout some commands

  • Loading branch information...
commit df2883fbb3cf51f905c7f1062a0985a86fcb047c 1 parent a44ddee
@rail rail authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 master/preproduction_factory.py
View
7 master/preproduction_factory.py
@@ -194,10 +194,11 @@ def config_tests(self):
))
def run_on_master(self, master_dir, cmd):
- self.addStep(MasterShellCommand(
+ self.addStep(ShellCommand(
name='master_cmd',
- command='bash --login -c \'cd "%s" && %s\'' % (master_dir,
- cmd)
+ command='bash --login -c \'cd "%s" && %s\'' % (master_dir, cmd),
+ workdir=master_dir,
+ flunkOnFailure=False,
))
def coverage(self, project):
Please sign in to comment.
Something went wrong with that request. Please try again.