mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Disallow duplicate taskcluster artifacts.
This commit is contained in:
parent
500cb865bd
commit
5d923c0a95
2 changed files with 13 additions and 3 deletions
|
@ -698,12 +698,13 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
|||
--tracker-api default \
|
||||
--reporter-api default
|
||||
""")
|
||||
task.with_artifacts(*[
|
||||
all_artifacts = set([
|
||||
"%s/%s" % (repo_dir, word)
|
||||
for script in task.scripts
|
||||
for word in script.split()
|
||||
if word.endswith(".log")
|
||||
])
|
||||
task.with_artifacts(*all_artifacts)
|
||||
task.find_or_create("%s_%swpt_%s.%s" % (
|
||||
platform.replace(" ", "_").lower(),
|
||||
job_id_prefix.replace("-", "_"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue