Add repo-specific reporting of repository builds
This commit is contained in:
parent
c8a1b8abab
commit
818ea38dac
3 changed files with 15 additions and 4 deletions
|
@ -72,6 +72,11 @@ class BuildJob(object):
|
|||
""" Returns the namespace under which this build is running. """
|
||||
return self.repo_build.repository.namespace_user.username
|
||||
|
||||
@property
|
||||
def repo_name(self):
|
||||
""" Returns the name of the repository under which this build is running. """
|
||||
return self.repo_build.repository.name
|
||||
|
||||
@property
|
||||
def repo_build(self):
|
||||
return self._load_repo_build()
|
||||
|
|
Reference in a new issue