mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Use new /latestjob endpoint for latest app job link
This commit is contained in:
parent
5862784ed2
commit
c3be88afca
1 changed files with 2 additions and 2 deletions
|
@ -24,14 +24,14 @@ class AppCIBranch(db.Model):
|
|||
branch="stable",
|
||||
display_name='Stable (x86)',
|
||||
url='https://ci-apps.yunohost.org/ci/logs/list_level_stable_amd64.json',
|
||||
url_per_app='https://ci-apps.yunohost.org/ci/apps/{}/')
|
||||
url_per_app='https://ci-apps.yunohost.org/ci/apps/{}/latestjob')
|
||||
|
||||
yield AppCIBranch(name='unstable',
|
||||
arch="amd64",
|
||||
branch="unstable",
|
||||
display_name='Unstable (x86)',
|
||||
url='https://ci-apps-unstable.yunohost.org/ci/logs/list_level_unstable_amd64.json',
|
||||
url_per_app='https://ci-apps-unstable.yunohost.org/ci/apps/{}/')
|
||||
url_per_app='https://ci-apps-unstable.yunohost.org/ci/apps/{}/latestjob')
|
||||
|
||||
def last_build_url(self, app):
|
||||
return self.url_per_app.format(app.name)
|
||||
|
|
Loading…
Reference in a new issue