Decision taks: add artifacts of the repository’s contents

This commit is contained in:
Simon Sapin 2019-11-21 22:08:57 +01:00
parent a11dc7006f
commit 55a8158d17
4 changed files with 30 additions and 1 deletions

View file

@ -10,6 +10,11 @@ from decisionlib import CONFIG, SHARED
def main(task_for):
with decisionlib.make_repo_bundle():
tasks(task_for)
def tasks(task_for):
if CONFIG.git_ref.startswith("refs/heads/"):
branch = CONFIG.git_ref[len("refs/heads/"):]
CONFIG.treeherder_repository_name = "servo-" + (