(self, cwd)
| 35 | """ |
| 36 | |
| 37 | def __init__(self, cwd): |
| 38 | self.cwd = cwd |
| 39 | # Jenkins git is too old and doesn't have 'git init --initial-branch', |
| 40 | # so init and checkout need to be separate steps |
| 41 | self.run("init", stderr=subprocess.PIPE, stdout=subprocess.PIPE) |
| 42 | self.run("checkout", "-b", "main", stderr=subprocess.PIPE) |
| 43 | self.run("remote", "add", "origin", "https://github.com/apache/tvm.git") |
| 44 | |
| 45 | def run(self, *args, **kwargs): |
| 46 | """ |