зеркало из https://github.com/mozilla/pjs.git
Bug 433639 - have talos test nightly builds (1.8 & 1.9) & clobbers
p=anodelman r=rcampbell
This commit is contained in:
Родитель
f463a7b1ac
Коммит
74bc3c6bae
|
@ -141,7 +141,11 @@ class MozillaWgetLatestDated(ShellCommand):
|
|||
assert kwargs['url'] != ""
|
||||
assert kwargs['filenameSearchString'] != ""
|
||||
self.changes = kwargs['build'].source.changes
|
||||
self.url = kwargs['url'] + str(self.changes[0].when) + "/"
|
||||
#if this change includes a link use it
|
||||
if self.changes[0].links:
|
||||
self.url = self.changes[0].links
|
||||
else:
|
||||
self.url = kwargs['url'] + str(self.changes[0].when) + "/"
|
||||
self.filenameSearchString = kwargs['filenameSearchString']
|
||||
self.branch = "HEAD"
|
||||
self.fileURL = ""
|
||||
|
@ -183,7 +187,11 @@ class MozillaWgetLatest(ShellCommand):
|
|||
def __init__(self, **kwargs):
|
||||
assert kwargs['url'] != ""
|
||||
assert kwargs['filenameSearchString'] != ""
|
||||
self.url = kwargs['url']
|
||||
#if this change includes a link use it
|
||||
if self.changes[0].links:
|
||||
self.url = self.changes[0].links
|
||||
else:
|
||||
self.url = kwargs['url']
|
||||
self.filenameSearchString = kwargs['filenameSearchString']
|
||||
self.branch = "HEAD"
|
||||
self.fileURL = ""
|
||||
|
|
|
@ -204,14 +204,12 @@ class TinderboxPoller(base.ChangeSource):
|
|||
# ignore if build is busted
|
||||
if buildNode['status'] == 'busted':
|
||||
continue
|
||||
# ignore this if it is a nightly
|
||||
if buildNode['url'] <> '':
|
||||
continue
|
||||
c = changes.Change(who = buildNode['hostname'],
|
||||
files = ['TODO: filename goes here'],
|
||||
comments = buildNode['status'],
|
||||
branch = self.branch,
|
||||
when = buildDate)
|
||||
when = buildDate,
|
||||
links = buildNode['url'])
|
||||
self.parent.addChange(c)
|
||||
|
||||
# do not allow repeats - count the last change as the largest
|
||||
|
|
Загрузка…
Ссылка в новой задаче