mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1252725 - artifacts tasks should be reclaimed to avoid timeouts r=jlund a=testing DONTBUILD
This commit is contained in:
parent
7f5cea8d5e
commit
a8b099d552
@ -116,6 +116,9 @@ class Taskcluster(LogMixin):
|
|||||||
mime_type = self.get_mime_type(os.path.splitext(filename)[1])
|
mime_type = self.get_mime_type(os.path.splitext(filename)[1])
|
||||||
self.info("Create reference artifact: filename=%s mimetype=%s url=%s" %
|
self.info("Create reference artifact: filename=%s mimetype=%s url=%s" %
|
||||||
(filename, mime_type, url))
|
(filename, mime_type, url))
|
||||||
|
# reclaim the task to avoid "claim-expired" errors
|
||||||
|
self.taskcluster_queue.reclaimTask(
|
||||||
|
task['status']['taskId'], task['status']['runs'][-1]['runId'])
|
||||||
self.taskcluster_queue.createArtifact(
|
self.taskcluster_queue.createArtifact(
|
||||||
task['status']['taskId'],
|
task['status']['taskId'],
|
||||||
task['status']['runs'][-1]['runId'],
|
task['status']['runs'][-1]['runId'],
|
||||||
|
Loading…
Reference in New Issue
Block a user