sql: add buildset.branch column

This change adds the build's branch information to the database.

Change-Id: Ia1e234f556766cc945dec84759c6a31f244084f6
This commit is contained in:
Tristan Cacqueray
2018-02-21 01:54:14 +00:00
parent ec1f54deb3
commit cb8f7e25f0
4 changed files with 46 additions and 3 deletions

View File

@@ -52,6 +52,7 @@ class SQLReporter(BaseReporter):
message=self._formatItemReport(
item, with_jobs=False),
tenant=item.pipeline.layout.tenant.name,
branch=item.change.branch,
)
buildset_ins_result = conn.execute(buildset_ins)
build_inserts = []