def hudson_build(): buildname = "build" if len(sys.argv) >= 2: if not sys.argv[1].startswith("-"): buildname = sys.argv[1] sys.argv[1:] = sys.argv[2:] run(buildname, sys.argv[1:])
def hudson_build(): run("build", ["--stresstest-only"])